#102137Problems due to automatic redirects
Description
When you regenerate the URL segment for a page, a redirect is automatically created. This can cause redirects / a redirect loop. The editor will not notice because no warning is displayed.
## Scenario
A possible scenario (which happens in real life and can be reproduced easily):
- editor copies page “X” -> new name “X1”
- generated slug: “/x-1”
- editor renames page “X1” to “Y”
- generated slug: “/y”
- auto-generated redirect: “/x-1” auf “/y”
- editor renames page “Y” to “Z”
- generated slug: “/z”
- auto-generated redirect: “/y” auf “/z”
- editor creates a new page “Y”
- generated slug: “/y”
## Result
Page “Y” is not accessible because the redirect from “/y” to “/z”, which was automatically generated earlier, is still active.
## Current solution
Editor has to open the list of redirects and look for the corresponding entry. After that, the editor has to delete the redirect and everything works as expected.
It would be great if there could be checks installed which will warn the editor about this scenario and behaviour.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Problems due to automatic redirects Resolves: #102137 Releases: main