Project

General

Profile

Actions

Bug #93483

closed

Redirects: .html page suffix not supported

Added by Christoph Lehmann almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2021-02-10
Due date:
% Done:

0%

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

Description

This is my configuration

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

settings:
    redirects:
        autoUpdateSlugs: true
        autoCreateRedirects: true
        redirectTTL: 30
        httpStatusCode: 301
        forceHttps: true
        respectQueryParameters: false
        keepQueryParameters: false

As per default the urls have .html ending. When i rename a page a redirect is created with

Source-Path: /veranstaltungennn

Now i curl this paths

/veranstaltungennn => HTTP 301 (ok)
/veranstaltungennn/ => HTTP 301 (ok)
/veranstaltungennn.html => HTTP 404 (Not found)

The issue is that the old default url is not redirected and results in a 404.

Both working redirects are useless cases because they are not communicated (eg. in search engines) and the only important case (with .html) does not work.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #92101: Redirects: File Extension breaks redirectClosed2020-08-26

Actions
Has duplicate TYPO3 Core - Bug #94499: Redirect after slug update doesn't respect suffixClosedStefan Bürk2021-07-07

Actions
Actions

Also available in: Atom PDF