View Single Post
Old 08-09-2008, 03:00 AM   #1 (permalink)
gyse2o
Junior Member
 
Join Date: Aug 2008
Posts: 2
Post .htaccess problems...

I have three domains pointing to one folder, for SEO and manageability purposes I want all traffic redirected to one domain. It's giving me a headache trying to figure it out...

This is what I have so far... it just causes a loop or server error...

Code:
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^threehorseshoescranleigh\.co\.uk/$ [NC,OR]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^threehorseshoes-pub\.co\.uk/$ [NC,OR]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^*.threehorseshoescranleigh\.co\.uk/$ [NC,OR]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^*.threehorseshoes-pub\.co\.uk/$ [NC,OR]
RewriteRule ^(.*)$ http://threeshoescranleigh.co.uk [L]
gyse2o is offline   Reply With Quote