[TYPO3] search / real url and the default language

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Jul 12 11:13:29 CEST 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> Martin Kutschker wrote:
> 
>> To acces the default language you may use L=0 or you may omit it.
>>
>> But with this ambiguity I get my pages indexed twice (a language 
>> switch menu will add L=0) and I have two paths for RealURL.
>>
>> How can I force a default value for GET parameters?
> 
> 
> Something like:
> 
> 'preVars' => array(
>          array(
>              'GETvar' => 'L',
>              'valueMap' => array(
>                  'dk' => '1',
>              ),
>              'valueDefault' => '0',
>          ),
>      )
> 
> Disclamer: wrote this by looking to realurl manual, check if it really 
> works!

Thanx, I'll check it out for RealURL.

But will this affect other parts of TYPO3? I want a default L=0 that 
affects every bit of PHP code and TS config.

Masi



More information about the TYPO3-english mailing list