Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I can't think of why you couldn't simply use URL Aliases.
You would need custom code to create the aliases (unless you do it by hand). The regular Path module doesn't provide functionality or tokens for this, but you can easily create write a hook_user function to do it.
that could work... I just wish there was a cleaner method. Aliasing makes me a bit nervous as in the past I have had issues with url aliases and that could be detrimental.
I have though about doing this in a number of different ways. But this might be the best option.
Comments
URL Aliases
I can't think of why you couldn't simply use URL Aliases.
You would need custom code to create the aliases (unless you do it by hand). The regular Path module doesn't provide functionality or tokens for this, but you can easily create write a hook_user function to do it.
Reference:
http://api.drupal.org/api/function/hook_user
If you have a bunch of existing users to add aliases for, use the same code to create a 1-time batch update.
---------------------------------
Steven Wright
Slalom
that could work... I just
that could work... I just wish there was a cleaner method. Aliasing makes me a bit nervous as in the past I have had issues with url aliases and that could be detrimental.
I have though about doing this in a number of different ways. But this might be the best option.