Skip to content

Instantly share code, notes, and snippets.

@stanwu
Created October 16, 2020 07:16
Show Gist options
  • Save stanwu/25e799cb52f8f4c2557038df999e7d1f to your computer and use it in GitHub Desktop.
Save stanwu/25e799cb52f8f4c2557038df999e7d1f to your computer and use it in GitHub Desktop.
Bluehost force SSL
RewriteEngine On
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