#56423Page shortcuts redirect with HTTP Status 301 and get cached on some devices
Description
We recently had the problem of iOS caching redirects caused by the page shortcut mode “link to first subpage”.
In TypoScriptFrontendController::checkPageForShortcutRedirect() the only exception from the standard 301 redirect is SHORTCUT_MODE_RANDOM_SUBPAGE, which is a 307 redirect.
I believe that all shortcut modes except for SHORTCUT_MODE_NONE should be handled as 307 redirects, since shortcuts are dynamic and subject to change.
Of course SEO experts won’t be too happy about such a code change but at least the chance for errors would be reduced significantly (and developers’ headaches too).
Reviews 5
- main 46494[FEATURE] Allow to select redirect code for doktype shortcut
- main 46500[BUGFIX] Different HTTP statuscodes for shortcuts
- TYPO3_6-2 46493[FEATURE] Allow to select redirect code for doktype shortcut
- main 46495[FEATURE] Allow to select redirect code for doktype shortcut
- main 27933[BUGFIX] Use HTTP Status 307 for all page shortcut modes