I have Pathauto installed, so URLs to nodes are not like node/3. My question is that if I write a View with a contextual filter for looking for node/3, will it work?

Note: This contextual filter is in a block. See this question.

2 Answers 2


You would get the node id(nid) as argument. Internally the system gets its data from the unaliased url, not the browser url created with path_auto.


pathauto only generates aliases. the nid stays the same. so contextual filters based on nid no problem.

  • I am talking about getting the nid out of the url, not doing a contextual filter based on the nid.
    – Gaelan
    Sep 30, 2012 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.