In order to force all HTTP requests to your site to resolve using the secure HTTP (HTTPS) protocol, simply add the following in the .htaccess file which can be located in your root (public_html) directory:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- 0 Users Found This Useful