Skip to content

Instantly share code, notes, and snippets.

@davidperezgar
Forked from jennimckinnon/.htaccess
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidperezgar/f50b6b19c3399cd95023 to your computer and use it in GitHub Desktop.
Save davidperezgar/f50b6b19c3399cd95023 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment