Skip to content

Instantly share code, notes, and snippets.

@michalsen
Created September 25, 2017 19:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michalsen/af392186de75c1be5dc7298d65f58484 to your computer and use it in GitHub Desktop.
Save michalsen/af392186de75c1be5dc7298d65f58484 to your computer and use it in GitHub Desktop.
WordPress force https
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment