newzero
7/10/2014 - 10:39 PM

Multi Domain Config TypoScript

Multi Domain Config TypoScript

//TypoScript
 # Multi Domain Configuration
[globalString = ENV:HTTP_HOST=example1.de]
    config.baseURL = http:// www.example1.de/
[global]

[globalString = ENV:HTTP_HOST=www.example2.de]
    config.baseURL = http:// www.example2.de/
[global]

//.htaccess
RewriteCond %{HTTP_HOST} ^example1\.de$ [NC]
RewriteRule ^(.*)$ http:// www.example1.de/$1 [R=301,L]

//Quelle
http://www.xn--typo3-nrnberg-2ob.de/typo/konfiguration/mehrere-domains/