Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Menu path in Pathauto

How do I get pathauto under Drupal 7 to generate a URL alias by the full menu path?

like image 791
dantz Avatar asked Jan 13 '11 18:01

dantz


People also ask

What is menu link in Drupal?

Drupal's core Menu module allows nodes to place menu links (linking to the node) into the menu. The Menu Link (Field) module however allows entities of any type to place menu links into the menu using a field.

Which is a type of menu in Drupal?

In many themes, there are at least two menus, the Main (or primary) menu, and a secondary menu. The Main menu's links drive the main navigation structure for your site and are often displayed prominently across the top or side of the site.


1 Answers

Just an update in case anyone comes across this with a more recent version of Pathauto/Token. This worked for me:

[node:menu-link:parents:join-path]/[node:menu-link]

like image 161
Ian Link Avatar answered Sep 29 '22 03:09

Ian Link