[TYPO3-english] RealURL customize

Tomiţă MILITARU tomita.militaru at gmail.com
Wed Sep 23 13:45:29 CEST 2009


Hello,
I'm trying to make my links look like this:
www.domain.com/en/web-services/
My RealURL configuration is:
$tx_realurl_config = array(
    'init' => array(
        'enableCHashCache' => true,
        'appendMissingSlash' => 'ifNotFile',
        'enableUrlDecodeCache' => true,
        'enableUrlDecodeCache' => true,
        'emptyUrlReturnValue' => true,
    ),
    'preVars' => array(
    'GETvar' => 'L',
    'valueMap' => array(
        'en' => 0,
        'de' => 1,
    ),
    'noMatch' => 'bypass'
    ),
    'postVarSets' => array(
        '_DEFAULT' => array(
        ),
    ),
    'pagePath' => array(
        'type' => 'user',
        'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
        'spaceCharacter' => '-',
        'languageGetVar' => 'L',
        'expireDays' => 3,
    ),
);

The resulting link is:
www.domain.com/32 (32 - is the page uid).
I can't figure what's wrong :(
Thanks.

-- 
Tomiţă MILITARU
AIESEC Sibiu Member
Board Member SbLUG
Junior Java Developer
Tel. +40741064681


More information about the TYPO3-english mailing list