Sep 14, 2008
Force www. in your URL using .htaccess
.htaccess | Tutorials & Resources
Just add the following code to your .htaccess file in the highest folder of your web directory and yor visitors will be forced to use the www version.
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]




















One Comment, Comment or Ping
cwxwwwxdfvwwxwx
well, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch
Dec 26th, 2008
Reply to “Force www. in your URL using .htaccess”