1

Using [node:menu-link:parents]/[node:title] as the pattern for nodes in Url Aliases works fine for a menu that is only two levels, but if I attempt to assign a node to a third level under a menu, instead of getting top-level-node/2nd-level-node/third-level-node as the url alias, I get top-level-node-2nd-level-node/third-level-node as the alias. Is this the expected behavior? Is there a way to auto-generate top-level-node/2nd-level-node/third-level-node when creating a menu item at the third level?

1 Answer 1

3

Try:

/[node:menu-link:parent:url:path]/[node:menu-link:title]

1
  • That did the trick. Thanks so much! Apr 21, 2022 at 15:06

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.