naeemqaswar
11/14/2016 - 11:09 AM

Remove WWW from URL

Remove WWW from URL

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>