Task #86887

Enable urls like `https://example.com/` and `https://example.com/path/to/site.html`, so only `.html` suffix for page type 0 if there is a path.

Added by Daniel Siepmann over 2 years ago. Updated over 2 years ago.

Must have
Link Handling, Site Handling & Routing
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Sprint Focus:


We just discussed how to configure the new URL handling within 9.5.x.

Our goal: Have urls like https://example.com/ and https://example.com/path/to/site.html, so only .html suffix for page type 0 if there is a path.

        default: .html
        index: ''
            .html: 0
        type: PageType

I know this doesn't fit the current idea of the enhancer. The index is by default set to index, resulting in https://example.com/index.html which I can fully understand.

Most websites still were configured to support the above version. I can understand that this will not work, as you can have .xml: 10 and .json: 15 for example. So TYPO3 does need this to be consistent. But is there a chance to add something like disableSuffixForDefault: true:

        default: .html
        index: ''
        disableSuffixForDefault: true
            .html: 0
        type: PageType

So TYPO3 will check that the default mapping will be applied, with the index and prevent adding anything?

That should solve the issue and should, hopefully, not be a big deal. If so, I'll open an issue in forge.
Maybe there are other solutions, but I didn't find anything else that still fits the streamlined approach.
Or did I oversee some approach? As there is no issue right now, we might be alone with this issue?
Corresponding stackoverflow entry: https://stackoverflow.com/questions/52903641/real-urls-in-typo3-9-5-0

Related issues

Related to TYPO3 Core - Task #86585: Configurability of page routingClosed2018-10-06


Updated by Martin Weymayer over 2 years ago

  • Priority changed from Should have to Must have

I have same problem and SEO specialist of customer says we have doublicate content ...


Updated by Martin Weymayer over 2 years ago

... this bug concerns also language menu ... homepage is linked as www.domain.at/index.html


Updated by DANIEL Rémy over 1 year ago

  • Related to Task #86585: Configurability of page routing added

Also available in: Atom PDF