Jump to content

[solved] Serving all pages over SSL


Recommended Posts

I am having untold problems with serving all pages over SSL.

The domain has a certificate, dedicated IP and Enable SSL is selected in back office, however all links and form element action attributes are being written as http://. What do I need to change so I can server everything over SSL?

Thanks

Never mind. Figured it out. In case anyone else need this change the $protocol variable from http to https in init.php

or even better set it to:

$protocol = Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://';



so it can be managed from back end

Link to comment
Share on other sites

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...