View Single Post
  #4 (permalink)  
Old 02-21-2007, 10:58 PM
wdillsmith wdillsmith is offline
WebProWorld Member
 
Join Date: Oct 2005
Posts: 36
wdillsmith RepRank 0
Default

Quote:
Originally Posted by incrediblehelp
I would still email your host and ask them help fix. The code your using looks ok, maybe the host has some rules in place that is disagreeing with your htaccess file when put live?

Here is the code I tend to use:

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
I finally got a tech at my hosting company who knew what he was doing, and he fixed up their side. It's working now using the code you had suggested. Thanks for the help.
Reply With Quote