I want to redirect http requests to https on Magento CE 1.8. I followed the steps below, but none of the methods work:
system->web->secure->Use Secure URLs in Frontend "yes"
In my .htaccess file:
## workaround for HTTP authorization
## in CGI environment
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
############################################
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I also tried: Issue redirecting http to https and changed the file app/code/core/Mage/Core/Controller/Varien/Front.php
but it still does not work.
Best Answer
If you want to do redirect http to HTTPS, based on my guess, which Magento version is you are using is not important.
just can follow these steps
core_config_data
table in that