Project

General

Profile

Actions

Task #89301

open

Streamline automatic slug & redirects handling

Added by Oliver Hader over 4 years ago. Updated 4 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Redirect Handling
Start date:
2019-09-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Issue #89115 introduce automatic slug handling as a new feature (which is great). However, there are a couple of things that need to be streamlined

  • probably refactor or even merge SlugService into according DataHandler hook
  • get rid of disableHook, enableHook calls (currently in SlugService) - but still avoid nested hook invocations (hook calling itself)
  • enhance test cases, consider using YAML scenario having more levels in the page tree
  • introduce sys_redirects loop detection, e.g. a -> b -> c -> a (in this case (temporary) redirects created in between could be reverted)
  • introduce UI component (settings currently only can be modified using config.yaml directly)

Related issues 20 (13 open7 closed)

Related to TYPO3 Core - Feature #89115: Auto-create Redirects on Slug ChangesClosedFrank Nägler2019-09-09

Actions
Related to TYPO3 Core - Task #89325: Prevent duplicate redirects in backend moduleNew2019-10-01

Actions
Related to TYPO3 Core - Bug #89326: Prevent duplicate redirects in auto redirectsAcceptedFrank Nägler2019-10-01

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

Actions
Related to TYPO3 Core - Bug #89328: Auto redirect does not respect language hostClosedFrank Nägler2019-10-01

Actions
Related to TYPO3 Core - Feature #93288: Merge redirect chainsClosed2021-01-14

Actions
Related to TYPO3 Core - Task #93294: Improve automatic slug handlingNew2021-01-15

Actions
Related to TYPO3 Core - Bug #91936: Documentation missing to disable automatic creation of redirects on slug changeClosed2020-08-05

Actions
Related to TYPO3 Core - Bug #91792: Automatically created redirects are not created using the DataHandlerNew2020-07-13

Actions
Related to TYPO3 Core - Feature #92004: Create redirect entry if updated slug is published to liveNew2020-08-14

Actions
Related to TYPO3 Core - Feature #93545: Inverse the behaviour of redirect creation after slug updateNew2021-02-18

Actions
Related to TYPO3 Core - Bug #91557: Auto slug update creates not working redirectClosed2020-06-03

Actions
Related to TYPO3 Core - Bug #94003: Automatic update of subpages slugs not working for copy of subtreeNew2021-04-28

Actions
Related to TYPO3 Core - Bug #94004: Automatic update of subpages slugs ignores columnsOverridesNew2021-04-28

Actions
Related to TYPO3 Core - Bug #93370: Redirects: non-admin users can not revert redirects via popup (although BE notification claims otherwise)Needs Feedback2021-01-26

Actions
Related to TYPO3 Core - Bug #93230: TYPO3 memory issues when changing slugsNew2021-01-06

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

Actions
Related to TYPO3 Core - Bug #92448: changing slug again after reverting an auto update causes wrong URLs on sub pagesNew2020-09-30

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

Actions
Related to TYPO3 Core - Bug #102137: Problems due to automatic redirectsNeeds Feedback2023-10-10

Actions
Actions #1

Updated by Oliver Hader over 4 years ago

  • Category set to Link Handling, Site Handling & Routing
Actions #2

Updated by Oliver Hader over 4 years ago

  • Related to Feature #89115: Auto-create Redirects on Slug Changes added
Actions #3

Updated by Oliver Hader over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Oliver Hader over 4 years ago

  • Description updated (diff)
Actions #5

Updated by Guido Schmechel over 4 years ago

  • Related to Task #89325: Prevent duplicate redirects in backend module added
Actions #6

Updated by Guido Schmechel over 4 years ago

  • Related to Bug #89326: Prevent duplicate redirects in auto redirects added
Actions #7

Updated by Guido Schmechel over 4 years ago

  • Related to Bug #89327: Auto redirect: Could not resolve target page added
Actions #8

Updated by Guido Schmechel over 4 years ago

  • Related to Bug #89328: Auto redirect does not respect language host added
Actions #9

Updated by Sybille Peters about 3 years ago

You mentioned:

introduce sys_redirects loop detection, e.g. a -> b -> c -> a (in this case (temporary) redirects created in between could be reverted)

There are redirect loops, but there are also redirect chains (without loops), e.g.

a -> b -> c

Would be good if these can be handled as well, see #93288

And there are duplicates, see #89325. #89326

I am not sure, if all this handling can or should be done on the fly. It would already help a lot if there were a command which would clean up all of these. (however the conflicts may be a bit difficult). I assume this should be much easier to implement.
There is already a redirect:cleanup command.

Actions #10

Updated by Sybille Peters about 3 years ago

Actions #11

Updated by Torben Hansen about 3 years ago

  • Related to Task #93294: Improve automatic slug handling added
Actions #12

Updated by Daniel Goerz almost 3 years ago

  • Related to Bug #91936: Documentation missing to disable automatic creation of redirects on slug change added
Actions #13

Updated by Daniel Goerz almost 3 years ago

  • Related to Bug #91792: Automatically created redirects are not created using the DataHandler added
Actions #14

Updated by Daniel Goerz almost 3 years ago

  • Related to Feature #92004: Create redirect entry if updated slug is published to live added
Actions #15

Updated by Daniel Goerz almost 3 years ago

  • Related to Feature #93545: Inverse the behaviour of redirect creation after slug update added
Actions #16

Updated by Daniel Goerz almost 3 years ago

  • Related to Bug #91557: Auto slug update creates not working redirect added
Actions #17

Updated by Sybille Peters almost 3 years ago

  • Related to Bug #94003: Automatic update of subpages slugs not working for copy of subtree added
Actions #18

Updated by Sybille Peters almost 3 years ago

  • Related to Bug #94004: Automatic update of subpages slugs ignores columnsOverrides added
Actions #19

Updated by Sybille Peters almost 3 years ago

  • Related to Bug #93370: Redirects: non-admin users can not revert redirects via popup (although BE notification claims otherwise) added
Actions #20

Updated by Dennis Prinse over 2 years ago

  • Related to Bug #93230: TYPO3 memory issues when changing slugs added
Actions #21

Updated by Oliver Hader over 1 year ago

  • Sprint Focus set to On Location Sprint
Actions #22

Updated by Oliver Hader over 1 year ago

  • Related to Bug #93287: Avoid creation of unnecessary redirects on Slug changes added
Actions #23

Updated by Benni Mack 7 months ago

  • Sprint Focus deleted (On Location Sprint)
Actions #24

Updated by Markus Klein 4 months ago

  • Category changed from Link Handling, Site Handling & Routing to Redirect Handling
Actions #25

Updated by Markus Klein 4 months ago

  • Related to Bug #92448: changing slug again after reverting an auto update causes wrong URLs on sub pages added
Actions #26

Updated by Markus Klein 4 months ago

  • Related to Bug #92748: Infinite redirects (redirect loop) when updating slugs added
Actions #27

Updated by Markus Klein 4 months ago

  • Related to Bug #102137: Problems due to automatic redirects added
Actions

Also available in: Atom PDF