Host4u2

Well-Known Member
Mar 24, 2002
248
0
316
Put in /public_html/.htaccess (after editing the domain (example.com)):
Redirects www. to without www.

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