[TYPO3] realurl duplicate content

Xavier Perseguers typo3 at perseguers.ch
Thu Sep 25 14:43:22 CEST 2008


Hello,

> My problem is that, as soon as i call my site www.ebc-international.com, the
> starting page in english language opens(which shud also be the case) but i
> want the url also to be www.ebc-international.com/en/home.
> 
> here is my realurl_conf.php code:
> <?php
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>      [...]
> 
>     ),
>     'preVars' => array(
>                         [...]
>                          array(
>                              'GETvar' => 'L',
>                              'valueMap' => array(
>                                  'en' => '0',
>                                  'de' => '9',
>                                  'pt' => '12',
>                              ),
>                              'noMatch' => 'bypass',
>                         ),
>                 ),.....

You have to remove the option "noMatch" and use "valueDefault" instead 
to force a language to be set when no language is specified.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-english mailing list