View Single Post
Old 10-03-2007, 03:22 PM  
JamesK
hi
 
Industry Role:
Join Date: Jun 2002
Posts: 16,731
Quote:
Originally Posted by xsabn View Post
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]
Thanks but does that not conflict with subdomains?
__________________
M3Server - NATS Hosting
JamesK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote