Sprechende URLs

Slug Konfiguration (ab TYPO3 9.5)

routeEnhancers:
  NewslettersPlugin:
    type: Extbase
    limitToPages:
      - 112
    extension: Newsletters
    plugin: Newslettersubscription
    routes:
      # The ordering is important!
      - { routePath: '/subscribe', _controller: 'Topic::subscribe' }
      - { routePath: '/{newsletter_hash}', _controller: 'Topic::list', _arguments: {'newsletter_hash': 'hash'} }
    defaultController: 'Topic::list'
    requirements:
      newsletter_hash: '^[a-zA-Z0-9]{32}$'

Realurl Konfiguration

$configuration = [

    'fixedPostVars' => [
        'newslettersConfiguration' => [
            0 => [
                'GETvar' => 'hash',
                'valueMap' => [],
            ],
        ],
        100 => 'newslettersConfiguration',
    ],

];