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 #1

Updated by Christoph Lehmann almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Oliver Beck about 3 years ago

Hi,

is there any update related to that issue? I can still confirm this on 10.4.20

Actions #3

Updated by David Denicolo' about 3 years ago

  • PHP Version set to 7.4

Hi there

same issue for me on 10.4.20
php 7.4

Thanks

Actions #4

Updated by Jörg Velletti about 3 years ago

see this issue that has a patch:

https://forge.typo3.org/issues/94499

Actions #5

Updated by Rémy DANIEL almost 3 years ago

  • Related to Bug #94499: Redirect after slug update doesn't respect suffix added
Actions #6

Updated by Rémy DANIEL almost 3 years ago

  • Related to Bug #92101: Redirects: File Extension breaks redirect added
Actions #7

Updated by Oliver Hader about 2 years ago

  • Related to deleted (Bug #94499: Redirect after slug update doesn't respect suffix)
Actions #8

Updated by Oliver Hader about 2 years ago

  • Has duplicate Bug #94499: Redirect after slug update doesn't respect suffix added
Actions #9

Updated by Oliver Hader about 2 years ago

  • Status changed from New to Closed

→ continue at #94499

Actions

Also available in: Atom PDF