Bug #89326
open
Prevent duplicate redirects in auto redirects
Added by Guido Schmechel about 5 years ago.
Updated about 1 year ago.
Category:
Link Handling & Redirect Handling
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 open — 0 closed)
- Related to Task #89325: Prevent duplicate redirects in backend module added
- Related to Task #89301: Streamline automatic slug & redirects handling added
- Status changed from New to Accepted
- Assignee set to Frank Nägler
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
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.
- Related to Bug #92448: changing slug again after reverting an auto update causes wrong URLs on sub pages added
- Category changed from Site Handling, Site Sets & Routing to Link Handling & Redirect Handling
Also available in: Atom
PDF