Issue Bug Closed

#56423Page shortcuts redirect with HTTP Status 301 and get cached on some devices

Christoph Dörfel 02/28/14, 11:19 updated 10/02/18, 12:02

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