Skip to content

Instantly share code, notes, and snippets.

@kathangeorg
Created March 28, 2012 10:51
Show Gist options
  • Save kathangeorg/2225375 to your computer and use it in GitHub Desktop.
Save kathangeorg/2225375 to your computer and use it in GitHub Desktop.
Typo3 Multi Domain BASE URL
//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/
@kathangeorg
Copy link
Author

  • Test
  • Test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment