Project

General

Profile

Actions

Bug #89326

open

Prevent duplicate redirects in auto redirects

Added by Guido Schmechel over 4 years ago. Updated 6 months ago.

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

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Case "Auto redirect": (>= v10.1)
An editor changes the slug of a page several times back and forth. A redirect is always created, no matter if it already exists.

Possible solution:
Optimal would be a hash value which is created from all 8 values.


Related issues 3 (3 open0 closed)

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

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

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

Actions
Actions #1

Updated by Guido Schmechel over 4 years ago

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

Updated by Guido Schmechel over 4 years ago

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

Updated by Frank Nägler over 4 years ago

  • Status changed from New to Accepted
  • Assignee set to Frank Nägler
Actions #4

Updated by Richard Haeser over 3 years ago

I can add to this:

- Page with name 'page' and slug '/page'
- Change slug to '/page-with-new-slug'
- A redirect is created now
- If you now recalculate the slug, it will say '/page' again
- Accessing '/page' will give you a redirect loop in frontend

Actions #5

Updated by Rémy DANIEL about 1 year ago

Another usecase:

- create a page with the default title by dragging it for the top of the page tree
- change the title and regenerate the slug: a redirect for "/default-title" is created
- create another page with the default title
- change the title and regenerate the slug: another redirect for "/default-title" is created

There is two redirects for "/default-title" in sys_redirect.

Actions #6

Updated by Markus Klein 6 months ago

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

Updated by Markus Klein 6 months ago

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

Also available in: Atom PDF