Return to Snippet

Revision: 77395
at September 18, 2019 22:12 by cerxx


Initial Code
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Initial URL
https://kinsta.com/knowledgebase/redirect-http-to-https/

Initial Description
Redirect HTTP to HTTPS in Apache

Initial Title
Redirect HTTP to HTTPS in Apache

Initial Tags
htaccess

Initial Language
Apache