-
-
Save nerdpraxis/1b526210c1525bbb837e to your computer and use it in GitHub Desktop.
Multi Domain Config TypoScript #ts #typoscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment