Pathauto patterns produce segment duplicates I have set up a pathauto pattern for a wiki-section that looks like this:

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


I want it to produce links such as wiki/page and wiki/page/subpage and it works fine for first level links, but for sublinks it duplicates the first segment and produces links such as wiki/wiki/page/subpage.

What is the correct pattern I should use?
Use just [node:menu-link:parents:join-path]/[node:menu-link:title] and make sure that you set the root node's URL alias manually as 'wiki'.