Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save manishjaingit/5069f7ae26f81d136d1926be540131fc to your computer and use it in GitHub Desktop.
Save manishjaingit/5069f7ae26f81d136d1926be540131fc 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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment