[TYPO3-english] Problems with multidomain site

Jeppe Donslund jeppe at donslund.net
Tue Dec 23 11:18:34 CET 2014


I have a site with a domain for Danish and another domain for English.

In my RealUrl config I have this:

'_DOMAINS' => array(
    	'encode' => array(
			array(
				'GETvar' => 'L',
				'value' => '',
				'ifDifferentToCurrent' => TRUE,
				'useConfiguration' => '_DEFAULT',
				'urlPrepend' => 'http://www.restrategy.dk',
			),
			array(
				'GETvar' => 'L',
				'value' => '0',
				'ifDifferentToCurrent' => TRUE,
				'useConfiguration' => '_DEFAULT',
				'urlPrepend' => 'http://www.restrategy.dk',
			),
			array(
				'GETvar' => 'L',
				'value' => '1',
				'ifDifferentToCurrent' => TRUE,
				'useConfiguration' => '_DEFAULT',
				'urlPrepend' => 'http://www.restrategy.today',
			),
		),
		'decode' => array(
			'www.restrategy.dk' => array(
				'GETvars' => array(
					'L' => '0',
				),
				'useConfiguration' => '_DEFAULT',
			),
			'www.restrategy.today' => array(
				'GETvars' => array(
					'L' => '1',
				),
				'useConfiguration' => '_DEFAULT',
			),
		),
	),

But when L=1 it doesn't put the .today domain in front of urls in the navigation.

I also try this in Constants:

BASEURL = http://www.restrategy.dk/
[globalString = ENV:HTTP_HOST=www.restrategy.today]
BASEURL = http://www.restrategy.today/
[global]

And the this in Setup:

config.baseURL = {$BASEURL}

with no luck eirther.

I use the Bootstrap Package, so maybe it is overruled somewhere.

Can someone point me in the right direction?


More information about the TYPO3-english mailing list