Project

General

Profile

Actions

Feature #89115

closed

Auto-create Redirects on Slug Changes

Added by Susanne Moog over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Start date:
2019-09-09
Due date:
% Done:

100%

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

Description

[Concept as discussed between Benni/Susi]

When a slug is updated by a user (by manually pressing the button), a redirect from the old URL to the new URL should be created.
After creation of the redirect a notification should be shown to the user. The notification should contain a link to remove the redirect again.

> Update Slug
> Auto-Create Redirect
-> Show Notification ("... created redirect... <Remove redirect>").

Prerequisites:

EXT:redirects is installed (Code should live in EXT:redirects)

Advanced use case:
When a user updates a slug of a page that has subpages, all subpage slugs starting with the current slug should also be updated and redirected. This batch operation should also be revertable via the notification.

Additional Info:

  • Redirects should have a defined life time (stop date) - for example 30 days (maybe make it configurable?)
  • Behaviour should have a global enable/disable switch per site
  • If the behaviour is enabled, redirects will be created and slugs updated independent of individual users rights to subpages, as otherwise inconsistent states are produced. If users should not be able to create redirects automatically, the behaviour has to be disabled.
  • User rights are taken into account as the slug updates only happen if someone manually updates the slug of a page (and that only works if he/she has rights to the field)

Related issues 6 (3 open3 closed)

Related to TYPO3 Core - Bug #89090: No redirect loop prevention for slugs / redirectsClosed2019-09-05

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

Actions
Related to TYPO3 Core - Bug #91311: Interactive Notification for redirects isn't shown if you change slugsNew2020-05-05

Actions
Related to TYPO3 Core - Bug #95123: Automatically added Redirects do not spawn a Notification any moreClosed2021-09-06

Actions
Related to TYPO3 Core - Bug #95272: Redirect after page slug change ignores TCA defaultsNew2021-09-20

Actions
Related to TYPO3 Core - Bug #93964: Edit page, modify page slug causes HTTP 404 on old page URL. TYPO3\CMS\Redirects\Service\SlugService::rebuildSlugsForSlugChange must force-rebuild redirects cache. Closed2021-04-21

Actions
Actions #1

Updated by Susanne Moog over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review over 4 years ago

  • Status changed from In Progress to Under Review

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #3

Updated by Susanne Moog over 4 years ago

  • Related to Bug #89090: No redirect loop prevention for slugs / redirects added
Actions #4

Updated by Susanne Moog over 4 years ago

  • Description updated (diff)
Actions #5

Updated by Gerrit Code Review over 4 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #6

Updated by Gerrit Code Review over 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #7

Updated by Gerrit Code Review over 4 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #8

Updated by Gerrit Code Review over 4 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #9

Updated by Gerrit Code Review over 4 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #10

Updated by Gerrit Code Review over 4 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #11

Updated by Gerrit Code Review over 4 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #12

Updated by Gerrit Code Review over 4 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #13

Updated by Gerrit Code Review over 4 years ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #14

Updated by Gerrit Code Review over 4 years ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #15

Updated by Gerrit Code Review over 4 years ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #16

Updated by Gerrit Code Review over 4 years ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #17

Updated by Gerrit Code Review over 4 years ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #18

Updated by Gerrit Code Review over 4 years ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #19

Updated by Gerrit Code Review over 4 years ago

Patch set 22 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #20

Updated by Gerrit Code Review over 4 years ago

Patch set 23 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #21

Updated by Gerrit Code Review over 4 years ago

Patch set 24 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #22

Updated by Gerrit Code Review over 4 years ago

Patch set 25 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #23

Updated by Gerrit Code Review over 4 years ago

Patch set 26 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #24

Updated by Gerrit Code Review over 4 years ago

Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #25

Updated by Gerrit Code Review over 4 years ago

Patch set 28 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #26

Updated by Gerrit Code Review over 4 years ago

Patch set 29 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #27

Updated by Gerrit Code Review over 4 years ago

Patch set 30 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #28

Updated by Gerrit Code Review over 4 years ago

Patch set 31 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #29

Updated by Gerrit Code Review over 4 years ago

Patch set 32 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #30

Updated by Gerrit Code Review over 4 years ago

Patch set 33 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #31

Updated by Gerrit Code Review over 4 years ago

Patch set 34 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #32

Updated by Gerrit Code Review over 4 years ago

Patch set 35 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #33

Updated by Gerrit Code Review over 4 years ago

Patch set 36 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #34

Updated by Gerrit Code Review over 4 years ago

Patch set 37 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #35

Updated by Gerrit Code Review over 4 years ago

Patch set 38 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #36

Updated by Gerrit Code Review over 4 years ago

Patch set 39 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #37

Updated by Gerrit Code Review over 4 years ago

Patch set 40 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #38

Updated by Gerrit Code Review over 4 years ago

Patch set 41 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #39

Updated by Gerrit Code Review over 4 years ago

Patch set 42 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #40

Updated by Gerrit Code Review over 4 years ago

Patch set 43 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #41

Updated by Gerrit Code Review over 4 years ago

Patch set 44 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #42

Updated by Gerrit Code Review over 4 years ago

Patch set 45 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #43

Updated by Gerrit Code Review over 4 years ago

Patch set 46 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #44

Updated by Gerrit Code Review over 4 years ago

Patch set 47 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #45

Updated by Gerrit Code Review over 4 years ago

Patch set 48 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #46

Updated by Gerrit Code Review over 4 years ago

Patch set 49 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61613

Actions #47

Updated by Frank Nägler over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #48

Updated by Oliver Hader over 4 years ago

  • Related to Task #89301: Streamline automatic slug & redirects handling added
Actions #49

Updated by Oliver Hader over 4 years ago

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

Updated by Oliver Hader over 4 years ago

  • Target version set to Candidate for Major Version
Actions #51

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions #52

Updated by Josef Glatz almost 4 years ago

  • Related to Bug #91311: Interactive Notification for redirects isn't shown if you change slugs added
Actions #53

Updated by Oliver Hader over 2 years ago

  • Related to Bug #95123: Automatically added Redirects do not spawn a Notification any more added
Actions #54

Updated by Mathias Brodala over 2 years ago

  • Related to Bug #95272: Redirect after page slug change ignores TCA defaults added
Actions #55

Updated by Felix Heller over 2 years ago

  • Related to Bug #93964: Edit page, modify page slug causes HTTP 404 on old page URL. TYPO3\CMS\Redirects\Service\SlugService::rebuildSlugsForSlugChange must force-rebuild redirects cache. added
Actions

Also available in: Atom PDF