<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [L,R=301] </IfModule>
htaccess remove www or redirect to non-www
Script htaccess untuk melakukan redirect ke non-www