I'm using pathauto module to generate the URL alias using the [node:menu-link] token. However, my problem is that if the author is not ready to add the node to the menu or forgets to add it to the menu, then "Generate automatic URL alias" is unchecked and the URL is the standard "node/1234". Does anyone have any suggestion for having a fallback URL in case [node:menu-link] is empty? Perhaps fall back to [node-title] or something else.


humansky’s picture

Priority: Minor » Normal