Skip to content

Instantly share code, notes, and snippets.

@nerdpraxis
Forked from kathangeorg/gist:2225375
Last active June 12, 2018 06:34
Show Gist options
  • Select an option

  • Save nerdpraxis/1b526210c1525bbb837e to your computer and use it in GitHub Desktop.

Select an option

Save nerdpraxis/1b526210c1525bbb837e to your computer and use it in GitHub Desktop.
Multi Domain Config TypoScript #ts #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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment