[TYPO3] search / real url and the default language

Dmitry Dulepov typo3 at accio.lv
Wed Jul 12 10:42:00 CEST 2006


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!

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list