.htaccess www 제거 적용

VNote 2018.06.16 14:00:34

RewriteEngine On

 

RewriteBase /

 

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]

 

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