remove www from urls

Jump to: navigation, search

This is important to implement for your search engine ranking. Google, for example, thinks is a different site from, and this can seriously impact where you rank in Google. There are other ways of doing this, but the below is the only one that doesn't spit back a 500 error on my server, for some reason.

RewriteEngine On 
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]