Skip to content

koninklijke-collective/my_redirects

Repository files navigation

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,
];