Skip to content

Instantly share code, notes, and snippets.

@ReekenX ReekenX/.htaccess
Created Mar 19, 2014

Embed
What would you like to do?
Universal redirect to www
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.