#89327Auto redirect: Could not resolve target page
Description
*Scenario:*
I change a slug in the page properties. Example: “test1” (source) to “test2” (target). The redirect has been added.
*Problem:*
If i call “https://example.com/test1” i got this message “The page did not exist or was inaccessible. Reason: The requested page does not exist” The target has been added as value “/test2” and not as “t3://page?uid=3”
*Error message in target field*
“not implemented type unknown”
*Possible solution*
Maybe its a better way to use the page id?
Code: https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L155
Reviews 9
- 10.4 72359[BUGFIX] Create auto-redirects with default language page uid
- 11.5 72358[BUGFIX] Create auto-redirects with default language page uid
- main 72327[BUGFIX] Create auto-redirects with default language page uid
- 10.4 72271[BUGFIX] Respect '_language' argument for typoLink and LinkHandler
- 11.5 72270[BUGFIX] Respect '_language' argument for typoLink and LinkHandler
- main 72242[BUGFIX] Respect '_language' argument for typoLink and LinkHandler
- main 71239[BUGFIX] Add trailing comma to multiline array in redirects SlugService
- 10.4 71194[BUGFIX] Auto redirect resolve target page
- main 68202[BUGFIX] Auto redirect resolve target page
Related issues 6
- Task #89301Streamline automatic slug & redirects handling
- Bug #91557Auto slug update creates not working redirect
- Bug #92748Infinite redirects (redirect loop) when updating slugs
- Feature #93288Merge redirect chains
- Bug #96043Created autoredirects with t3://page?uid=<value>&_language=<languge id greater 0) do not redirect to the correct page language
- Bug #96103Redirects created automatically on slug changes uses localizied page uid instead of the default language page uid