Latest news
Home » Others » http to www redirect htaccess

http to www redirect htaccess

use the following method to redirect the site with www

RewriteEngine On

RewriteCond %{HTTP_HOST} !^www.

RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Leave a Reply

x

Check Also

AB de Villiers made fastest Century in Cricket History 2015

AB de Villiers made fastest Century in world cup Cricket History 2015