Thread: .htaccess edit
View Single Post
03-12-2007, 02:26 AM
#51
kiplarson is offline kiplarson
Status: I'm new around here
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 15
iTrader: 0 / 0%
 

kiplarson is on a distinguished road

  Old

Is there any downside of doing it this way:

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301
as opposed to the way you did it?

Edit, I put in the wrong code (fixed now)