View Single Post
  #4  
Old 02-03-2010, 02:57 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 41,537
fadillzzz is an unknown quantity at this point
Default RE: User login dependant on if there's a "www." in the url

put this in your .htaccess to redirect all non www to www
Code:
Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{HTTP_HOST} ^yoursite.com [NC] 
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
Reply With Quote