Web Hosting Forum

Go Back   Web Hosting Forum > Web Development
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
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
Old 08-11-2008, 10:58 AM   #2 (permalink)
gyse2o
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default Dream Hosting Support

As usual the Support team have come up trumps, this topic can be clsoed!
gyse2o is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:37 PM.


© Dream Hosting 2007

LinkBacks Enabled by vBSEO 3.0.0