I'd like to implement a redirection from HTTP to HTTPS in a web publishing service. What steps should I take?
Step-Guide
Generate an .htaccess file within the public_html directory and input the following three lines.
Description
RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !=https [NC] RewriteRule .* https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]