/my_redirects

TYPO3 Extension: Redirects management

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

TYPO3 Extension: Redirects management

Possible configuration:

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['my_redirects'] = [
    // Define default root page (fallback is on RealURL configured _DEFAULT rootpage ID
    'defaultRootPageId' => 1,
    // Define HTTP response (defaults on 302)
    'defaultHeaderStatusCode' => \TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_302,
];