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]