Project

General

Profile

Actions

Bug #56423

closed

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

Added by Christoph Dörfel over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2014-02-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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).


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #73139: Allow to select redirect code for doktype shortcutRejected2016-02-05

Actions
Related to TYPO3 Core - Bug #73148: Wrong HTTP redirect statuscode for shortcut to selected pageRejected2016-02-05

Actions
Has duplicate TYPO3 Core - Bug #54508: Http Redirect 301 prevents browsers from retrieving the correct url after authenticationClosed2013-12-19

Actions
Actions

Also available in: Atom PDF