[TYPO3-english] realURL with multisite

Steffen Gebert steffen at steffen-gebert.de
Sun Feb 1 12:03:54 CET 2009

Bernhard Kraft wrote:
>> $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
>>     'www.domainname1.com' => $tx_realurl_config,
>>     'domainname1.com' => 'www.domainname1.com',
>>     'www.domainname2.tld' => $tx_realurl_config,
>>     'domainname1.com' => 'www.domainname1.com',
>> );
> Here $tx_realurl_config is NOT set ... (or did you set
> it anywhere before ???)
Numeric page names is a clear sign for missing configuration for a domain. So I assume $tx_realurl_config isn't set, too.

> So this should be rather:
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['domainname1.com']=&$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainname1.com'];
> Just note the "&" before the defintion for "domainname1.com"
You don't need this trick, as "string pointer" is a feature of realurl, so Luca's configuration is ok for this part.
Of course variable reference might be faster..


More information about the TYPO3-english mailing list