Actions
Bug #102137
openProblems due to automatic redirects
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Redirect Handling
Target version:
-
Start date:
2023-10-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions