Not all links login will change to /bakery, they need to be redirected.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | bakery.diff | 1.05 KB | drumm |
| #2 | bakery.diff | 617 bytes | drumm |
| bakery.diff | 433 bytes | drumm |
Not all links login will change to /bakery, they need to be redirected.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | bakery.diff | 1.05 KB | drumm |
| #2 | bakery.diff | 617 bytes | drumm |
| bakery.diff | 433 bytes | drumm |
Comments
Comment #1
drummThat doesn't work if there is a ?destination=.. since drupal_goto() uses the destination if present. This strategy may be okay. However, the destination does get encoded one more time than it is decoded.
I want this for comment links, which are kinda hard to alter, #532682: Comment links arenot passed to hook_alter()
Comment #2
drummOption 2 attached
Comment #3
drummOption 3, path aliases actually work kinda well.
Comment #4
killes@www.drop.org commentedeverybody needs to resave the settings form on slave sites now.
Comment #6
gregglesWe could use some code comments on this to reference why we create them.
Also, why is this in the form rather than a hook_update?
Comment #7
juliangb commentedI'd just like to link from here to #787090: Use hook_menu_alter rather than aliases, which is an issue to move from using path aliases to using hook_menu_alter to handle the user/login and user/register paths.
Are there any comments from the original authors as to why this might / might not work / the original reasoning?
Comment #8
gregglesI'm moving this back to fixed, but think we should implement the changes in #787090: Use hook_menu_alter rather than aliases which basically revert this in favor of using hook_menu_alter.