Skip to content

Instantly share code, notes, and snippets.

@daronspence
Created August 2, 2016 01:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save daronspence/0ee938c180b05bccae72aa4775e70387 to your computer and use it in GitHub Desktop.
Same HTTPS .htaccess Redirect
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment