Enable HTTPS Fourcedully
Common issues
Note: Before enabling HTTPS, ensure that you have added an SSL certificate from your cPanel.
To force HTTPS, navigate to Your project folder
and open .htaccess
file and add the following conditions:
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
See the screenshot below for help -