@larry_orn
To force SSL in .htaccess, you can add the following lines of code:
1 2 3 |
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
Explanation:
Make sure to place these lines at the beginning of your .htaccess file. Additionally, ensure that the mod_rewrite module is enabled on your server for this to work.