Menu path in Pathauto

前端 未结 10 1106
天命终不由人
天命终不由人 2021-02-01 17:31

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

10条回答
  •  深忆病人
    2021-02-01 17:53

    The pattern that works for me is the following:

    [node:menu-link:parent:url:alias]/[node:menu-link]
    

    I also intalled the Token module like Eaten suggested. Don't know if [node:menu-link:parent:url:alias] is part of core or lives in contrib.

提交回复
热议问题