No “www” – htaccess redirect

I go just long enough between websites that I’m always forgetting this little number. Putting it here so I can just grab it next time.

	RewriteEngine On
	RewriteBase /
	RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
	RewriteRule ^(.*)$$1 [L,R=301]
Heya! I’m Cohan and I make PHP-based websites. I also administer Linux servers and do other nerdy good stuff like that.
My real love is writing though, this here’s my outlet for that.
A picture of me.