Project

General

Profile

Actions

Feature #93288

closed

Merge redirect chains

Added by Sybille Peters almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2021-01-14
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
redirects,redirect chains,cleanup redirects
Complexity:
Sprint Focus:

Description

Update

Oct 16, 2021

Since behaviour has now been changed to use a page link as target (e.g. t3://page?uid=123) and not a path, redirect chains should no longer be created by automatic redirect creation. They might however still be created manually and there is the question of the older redirects already existing.

Clarification of terms

I am talking about redirect chains here, not redirect loops.

chain : example:

  • /a => /b, /b => /c
  • /a => /b, /b => /c, /c => /d

2 (or more) redirects have to be followed now for redirecting to the final page. If one of the redirects is removed, the chain breaks

loop : example

  • /a => /a
  • /a => /b, /b => /a

Description

If slugs are changed several times, redirect chains are used to be created by automatic redirect creation, e.g. /a -> /b -> /c.

If these are merged, it reduces the number of requests necessary to load a page.

Could be done on-the-fly or as a command.

Before :

/a -> /b
/b -> /c

After

/a -> /c
/b -> /c

NEW: The behaviour has now been changed to use page links as targets, so the result would now be:

/a -> t3://page?uid=111
/b -> t3://page?uid=111

Related issues 4 (2 open2 closed)

Related to TYPO3 Core - Task #89301: Streamline automatic slug & redirects handlingAccepted2019-09-29

Actions
Related to TYPO3 Core - Bug #93287: Avoid creation of unnecessary redirects on Slug changesClosed2021-01-14

Actions
Related to TYPO3 Core - Bug #92748: Infinite redirects (redirect loop) when updating slugsNew2020-11-02

Actions
Related to TYPO3 Core - Bug #89327: Auto redirect: Could not resolve target pageClosedFrank Nägler2019-10-01

Actions
Actions

Also available in: Atom PDF