Skip to content

TYPO3 7.6 remove trailing slash from speaking_url #679

@MrMooky

Description

@MrMooky

I'm trying to remove the trailing slashes from the generated urls. This is my current setup:

TYPO3 7.6
RealUrl: Latest

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array (
    '_DEFAULT' => array (
        'init' => array (
            'enableCHashCache' => true,
            'adminJumpToBackend' => true,
            'enableUrlDecodeCache' => true,
            'enableUrlEncodeCache' => true,
            'disableErrorLog' => true,
            'appendMissingSlash' => false,
            'acceptHTMLsuffix' => false,
            'defaultToHTMLsuffixOnPrev' => false
        ),
    etc...

Now, after clearing all realurl tables and caches, the urls are still being generated with a trailing slash.

Screenshot 2020-02-06 at 16 57 45

The rest of the RealUrl config is working fine. My workaround was to remove the slash with htaccess, but that should not be the solution. Can anybody help?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions