[TYPO3] RealUrl, multidomain, multilanguage, single tree setup 2

Michael Cannon michael-typo3 at cannonbose.com
Fri Nov 30 19:56:20 CET 2007


Tomi,

I run RealURL with multiple domains and languages. In this case  
though, here's a helper to get realurl started with a bang.

http://typo3.org/extensions/repository/view/cbrealurl/1.0.3/

Read the README.txt for basic directions.

For the language setup, whatever TypoScript configuration you run  
with will probably need to map to the preVars language section of  
realurl.php. Example, if your French language code is 5 in  
TypoScript, then the code 5 needs to be French as well in the  
following code block, not 1 like it is now.

--
         , array(
             'GETvar' => 'L',
             'valueMap' => array(
                 // 'english' => '0',
                 'en' => '0',
                 'us' => '0',
                 // 'french' => '1',
                 'fr' => '1',
                 // norwegian?
                 'no' => '2',
                 // 'german' => '3',
                 'de' => '3',
                 // 'danish' => '4',
                 'dk' => '4',
                 // 'spanish' => '5',
                 'es' => '5',
                 // British English
                 'uk' => '6',
             ),
             'noMatch' => 'bypass',
         ),
--

Michael

-----
Michael Cannon
President of Cannonbose, LLC
+1 (800) 559-9773   |   +1 (603) 559-9773   |   Fax : +1 (802) 609-2776




More information about the TYPO3-english mailing list