/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteEngine on RewriteCond %{HTTPS} !On RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301]