[TYPO3-english] Re: realurl configuration for different multilanguage domains
Michaela
m.herzhauser at gmx.de
Fri Apr 26 08:39:55 CEST 2013
Hello Dmitry,
that's it! Great!
Since I have more than two websites I managed it like this:
if (preg_match('/domain1\.(gr|de|com)$/', $_SERVER['HTTP_HOST']) {
// _DEFAULT realurl configuration
// _DOMAIN
}
elseif (preg_match('/^(www\.)?domain2\.com$/', $_SERVER['HTTP_HOST'])){
// _DEFAULT realurl configuration
// _DOMAIN
}
else {
// _DEFAULT realurl configuration
}
Thank you so much!
Best regards, Michaela
More information about the TYPO3-english
mailing list