4

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?

0
2

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.

1

Pathauto module might help you for your requirements... Check it.

2
0

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.

Menu Token module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.