Jump to content

Always-on SSL


danh42

Recommended Posts

I'd like every page, script, image, etc of my PrestaShop installation to be served over SSL. I have it enabled in the admin panel, but that only forces SSL on a couple important pages. I tried adding the following rule in my Apache config:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

However, a couple pages (such as product pages) seem to actually force HTTP, even when I put https:// in the URL. Besides being absolutely idiotic, this also causes a redirect loop when I use the code above.

Someone filed a bug report requesting that site-wide SSL be introduced as an option, which I think is a great idea, but it hasn't gotten any attention.

Short of manually modifying lots of files, is there an easy way I can get HTTP to be used on all pages?

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...