Bug #89916
closedShortcut to a disabled page with redirect fails
0%
Description
When disabling a page and setting a redirect for that old url to a new/other page, the redirect works.
When setting a page shortcut to the old url, this error shows up:
Page not found: Reason: ID was not an accessible page
Which is obvious because the shortcut functionality checks the availability of the target page.
But maybe it's wanted/expected behaviour to get redirected if there is a redirect for the page available.
To reproduce:
- Create old-page and set hidden
- Create new-page and set visible
- Create redirect from /old-page to /new-page => this works
- Create shortcut to old-page -> shortcut fails
Updated by Benni Mack over 4 years ago
- Status changed from New to Closed
Hey Riny.
We'll the "old-page" is hidden, when someone is pointing to the old-page page ID (which TYPO3 does) then this won't work obviously. A shortcut is doing an internal resolution and not an external HTTP redirect.
I don't see this as a bug, but this is expected behavior.
I'm closing this issue, but leave it open for discussion, so you can elaborate if you feel that this is still an issue for you.