New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add redirect module to core. #1317
Add redirect module to core. #1317
Conversation
…here still needs tests, replace redirect specific helper functions with core apis wehre appropriate, code clean up doc blocks and documentation in general.
…e redirect module.
… redirect settings.
… to dropbuttons.
The reason the prefix isn't on the TO field is because you can create external redirects (as noted in the help text). This allows you to do a redirect from |
Hm. that feels weird. |
Well, maybe best for a followup then? Redirect has always had this ability, I know of sites that have used it heavily for marketing purposes, e.g. an email or TV ad that is |
I agree, a follow-up. It's not the ability that feels weird, it's the UI for it. these two things are not the same :) |
No PR sandbox 😞 |
Done! |
Website: http://1317.backdrop.backdrop.qa.backdropcms.org |
09a0668
to
7302e27
Compare
Website: http://1317.backdrop.backdrop.qa.backdropcms.org Removed |
Website: http://1317.backdrop.backdrop.qa.backdropcms.org |
…ency fixes between aliases and redirects.
7302e27
to
1adf091
Compare
….drupal.org/node/1025904 to fix hook_path_delete().
Website: http://1317.backdrop.backdrop.qa.backdropcms.org Removed |
Website: http://1317.backdrop.backdrop.qa.backdropcms.org |
Looks great. A couple issues with validation: I typed The other query is that |
I think maybe I was recalling |
Even though it's unusual it's not impossible. We specifically allow We could also throw a warning as a half-way compromise. This form already has some fancy validation on it to give the user a warning but allow saving anyway if they really want (e.g. when redirecting from a real path like |
The |
Ah, it uses |
It is definitely strange to include the ability to redirect to a non-existent path, when Redirect module is created partly to fix the issue of non-existent paths (404s). I'd vote to prevent this, even if we decide to go ahead with backdrop/backdrop-issues#422. But this is in no way a blocker, and we can always decide after backdrop/backdrop-issues#422. So RTBC for me. |
…e. Enabling Redirect in standard profile.
419704d
to
7ac090e
Compare
Website: http://1317.backdrop.backdrop.qa.backdropcms.org Removed |
Merged for 1.4.0. Yay! |
I don't have immediate need to use this, but yay indeed! I realize there was a lot of effort that went into this, so thanx and well done everybody 👏 |
Fixes backdrop/backdrop-issues#905.
Replaces PR at #1277.