View Single Post
Old 10-03-2007, 03:18 PM  
xsabn
Confirmed User
 
xsabn's Avatar
 
Industry Role:
Join Date: Feb 2007
Location: 203-069-778
Posts: 2,815

Quote:
im confused... why would you redirect one to the other?

add these lines in your .htaccess if you want your http://yourdomain.com to become http://www.yourdomain.com

Code:
Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] 
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]

Last edited by xsabn; 10-03-2007 at 03:21 PM..
xsabn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote