[TYPO3] realurl duplicate content

Rupali Gupta rupali.ffm at googlemail.com
Thu Sep 25 14:29:28 CEST 2008


Hello list
my projects has default language english and german and portuguese are 1st
and 2nd web-site language.
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.

otherwise i have duplicate content under www.ebc-international-com and
www.ebc-international.com/en/home

do i need here a redirect from baseurl(www.ebc-international.com) to
www.ebc-international.com/en/home ? how todo it ?
here is my realurl_conf.php code:
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
        'init' => array(
            'enableCHashCache' => 1,
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => 1,
            'enableUrlEncodeCache' => 1,
            'respectSimulateStaticURLs' => 0,
            'postVarSet_failureMode'=>'redirect_goodUpperDir',
        ),
    'redirects_regex' => array (

    ),
    'preVars' => array(
                        array(
                                'GETvar' => 'no_cache',
                                'valueMap' => array(
                                    'no_cache' => 1,
                                ),
                                'noMatch' => 'bypass',
                        ),
                         array(
                             'GETvar' => 'L',
                             'valueMap' => array(
                         'en' => '0',
                                                'de' => '9',
                                                'pt' => '12',
                                        ),
                                'noMatch' => 'bypass',
                        ),
                ),.....



-- 
Regards,
Rupali


More information about the TYPO3-english mailing list