Closed (fixed)
Project:
Pathauto
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2010 at 09:04 UTC
Updated:
5 Oct 2010 at 10:20 UTC
Is it possible to create the path/url alias based on where the page falls in the menu structure?
For example, if on my website I have an 'About Us' section, and within that, an 'Our History' section, and I'm creating a new page to sit underneath the 'Our History' section, I'd want the URL structure to be 'http://www.example.com/about-us/our-history/new-page'. Is this possible?
Thanks,
Dave
Comments
Comment #1
damien tournoud commentedYes, pathauto knows how to do that.
Note that it only works if the tree structure is in the Navigation menu.
Comment #2
dave reidYou'll want to play with the [menupath-raw] token.
Comment #3
probocop commentedAhh, so it would only work specifically on the Navigation menu, rather than say Primary Links?