[TYPO3-english] Combine two RealURL preVars

Tomas Norre Mikkelsen tomasnorre at gmail.com
Tue Feb 14 10:07:56 CET 2012


Hi,

I have a question about RealURL preVars, is it posible to combine two 
preVars into one?

I have following realurl_conf.php :

...
	'preVars' => array(
		array(
			'GETvar' => 'L',
			'valueMap' => array(
				'en' => '0',
				'de' => '1',
			),
			'valueDefault' => 'en',
		),
		array(
			'GETvar' => 'C',
			'valueMap' => array(
				'AA' => '0',
				'DK' => '1',
				'DE' => '2'				
			),
			'valueDefault' => 'AA',
		),
	),
...

Which results in links like: domain.tld/en/DK/content/

I would like these /en/dk/ to be combined into one, such the links will 
be: domain.tld/en-DK/content/

Is that even posible?

-- 
Venlig Hilsen / Best Regards
Tomas Norre Mikkelsen
Tomasnorre at gmail.com

TYPO3 Developer @netimage.dk
TYPO3 Profile:
http://forge.typo3.org/users/4289


Follow me at twitter
Twitter.com/tomasnorre


More information about the TYPO3-english mailing list