Drupal 7:Pathauto patterns from menu structure hierarchy

drupaldrupal-7pathauto

I'm trying to create a Pathauto pattern which looks like "Drupal root/parent_menu_item_name/node_title" where "node_title" is a child of "parent_menu_item_name" in the menu hierarchy.

I've tried many different variations, and nothing works. I've tried the suggestions in Menu path in Pathauto, and none of them works at all. It just ends up outputting the node-title, with nothing before it.

I've got the latest versions of the Token and Pathauto modules installed.

Best Answer

I believe this question has been answered by Kenan:

Kenan's answer

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

It works for me, so I'm very happy!

Related Topic