Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 672 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 672 Bytes

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