typo3-realurl icon indicating copy to clipboard operation
typo3-realurl copied to clipboard

Wiki refers to 'manual Configuraton' which is not available

Open kludikovsky opened this issue 8 years ago • 1 comments

The reference from here https://github.com/dmitryd/typo3-realurl/wiki/Configuration-reference is nowhere available

kludikovsky avatar Feb 02 '17 12:02 kludikovsky

Especially the domains setup is missing, which was described nicely in the v1 manual:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] [host-name] | ->siteCfg or pointer to other key with ->siteCfg in same array | Configuration of Speaking URL coding based on current host-name for the website. Offers you the possibility of individual configuration for multiple domains in the same database.

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
    '_DEFAULT' => array(
        ...
    ),
    'www.typo3.org' => array (
        ...
    ),
    'www.typo3.com' => 'www.typo3.org',
    'typo3.com' => 'www.typo3.org',
    '192.168.1.123' => '_DEFAULT',
    'localhost' => '_DEFAULT',
);

cweiske avatar Jun 01 '17 09:06 cweiske