[Typo3] Domain dependent fe login

Matthew Manderson matthew at manderson.co.uk
Thu Aug 4 14:06:34 CEST 2005


I use .htaccess to kick the requests to www.

# Redirect non-standard incoming domains to www.domain.com 
RewriteCond %{HTTP_HOST} !^www\.domain\.com$ 
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=permanent] 

or

# add prefix www to url
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L] 

This is also very important for some RealURL sites.

Matthew



More information about the TYPO3-english mailing list