Today's tip comes from the always knowledgable Anne van Kestern, and it's about getting rid of the WWW in your URL.
In case you haven't heard, WWW is deprecated, and here is an easy way via .htaccess to correct the URL.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
Tagged As Tip
Comments are Open (0)
Posted at 11:10 AM