Project

General

Profile

Actions

Bug #94499

closed

Redirect after slug update doesn't respect suffix

Added by Martin Tepper almost 3 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2021-07-07
Due date:
% Done:

100%

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

Description

Hello,

in my system i have the routeEnhancers configured with

routeEnhancers:
  PageTypeSuffix:
    type: PageType
    default: '.html'
    map:
      '.html': 0

my urls are looking like www.domain.com/page.html

when i change the slug from "page" to "page-new" a new redirect is created with
Source Path: /page
Destination: /page-new

i expected that a request to the old address www.domain.com/page.html will redirect to www.domain.com/page-new.html.

but the redirect works only for www.domain.com/page and redirects to www.domain.com/page-new.
so the redirect doesn't work in my case and has no advantages for already indexed urls.

when i change the redirect entry manually to
Source Path: /page.html
Destination: /page-new.html

it works like expected.

Is there a solution or a setting that I am overlooking?


Files


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Feature #99746: Introduce event to manage auto redirect create sourcesClosedStefan Bürk2023-01-30

Actions
Is duplicate of TYPO3 Core - Bug #97606: Autocreated redirects ignore PageTypeSuffix (e.g. ".html")Closed2022-05-11

Actions
Is duplicate of TYPO3 Core - Bug #93483: Redirects: .html page suffix not supportedClosed2021-02-10

Actions
Has duplicate TYPO3 Core - Bug #92101: Redirects: File Extension breaks redirectClosed2020-08-26

Actions
Actions

Also available in: Atom PDF