How to enable HTTPS Redirect using .htaccess
Create a .htaccess file in your web folder, and paste the following content inside to force https connection
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
</IfModule>