Skip to content

Instantly share code, notes, and snippets.

@oropesa
Created September 23, 2014 14:00
Show Gist options
  • Save oropesa/604ac6ed63d5f19583de to your computer and use it in GitHub Desktop.
Save oropesa/604ac6ed63d5f19583de to your computer and use it in GitHub Desktop.
redirect .htaccess without www
# BEGIN Oropesa
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.oropensando.com$ [NC]
RewriteRule ^(.*)$ http://oropensando.com/$1 [L,R=301]
</IfModule>
# END Oropesa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment