I have a node with the path: http://www.example.com/test

I would like all paths that begin with /test/ to go to this node. url like these: http://www.example.com/test/a/b/c http://www.example.com/test/a?bc

all should be redirected to this node.

How can this be accomplished?


1 Answer 1


To accomplish this, you can use Pathauto module. To set a specific path for a specific node, go to admin/modules/pathauto/config and set the path for that specific node in the textbox as you want. For your case use test/[node:title] in the Pattern for all test paths text field.

  • Although it sounds a bit like the OP is asking about setting up URL patterns, I'm pretty sure he/she is actually asking how to redirect to a node based on a URL pattern. Aug 16, 2015 at 19:19

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.