Aliases for user profile URLs
-
16-10-2019 - |
Question
For example, the URL http://example.com/user/20/edit/cocktail?destination=user%2F20 leads to a page with the form to add content.
I want to create an alias like bartender/add/cocktail, or (if possible) bartender/profile/[current-loggedin-bartender-name], [current-loggedin-bartender-surname]/add/cocktail.
Is this possible? How can I do it?
Solution
Those kinds of aliases cannot be achieved by path auto, because as far as I know, it is difficult to add tokens into the menu settings. To help with this in the past, I have used the Me Alias module.
OTHER TIPS
Pathauto module might help you for your requirements... Check it.
Menu tokens is another option that looks a bit more robust than me aliases but they both now have token replacements and it is still in alpha3 as of now.