1507 ❤

add/delete: www. prefix

RewriteEngine on
RewriteCond %{HTTP_HOST} !^domain.com [NC]
RewriteRule ^/?(.*)$ http://domain.com/$1 [L,R=301]

Leave a Reply