Skip to content

Instantly share code, notes, and snippets.

@vocino
Created March 21, 2010 07:12
Show Gist options
  • Save vocino/339145 to your computer and use it in GitHub Desktop.
Save vocino/339145 to your computer and use it in GitHub Desktop.
RewriteCond %{HTTP_HOST} ^www\.(.+)$
RewriteRule ^(.*)$ http://%1$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment