Tag : redirect-www

Redirect from www to non www using apache htaccess

Redirect from www. to non www


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