Jump to content

HTTPS on prestashop 1.5.6.2


Recommended Posts

Hi all,

 

I sincerely hope that someone can help on this matter.

 

I have this shop installed for quite some time, and would like to change to https on the complete site.

 

I purchased a certificate and had it installed on the server.

 

In order to make a test, what we did was to enable SSL in prestashop.

 

We have the SSL domain set to www.randomsite.com

 

I changed nothing in the .htaccess file.

 

I tried to call the address https://www.randomsite.com/en/   -  and it responds and is showing okay. I notice that the SSL is broken and there is a warning.

 

All links on the site, e.g. products are redirecting to the http version, not the https one, so this is why the ssl is broken.

 

We have a slider minic, that one is linking correct to the product using https.

 

So, my question is,

 

1.  why are the product links redirecting to http://www......  and not https://www.....  ???

 

 

I am sure it is basic for most, but I simply dont know where to start and end figuring out what is controlling that.

 

I have also tried to log into the customer account, and recall this using https

 

I reloaded the page https://www.randomsite.com/en/my-account

 

Just to see if the links to order history would be calling https, but the do not redirect to https version.

 

 

2. What am I missing ?? :)

 

I sincerely hope someone can help on this.

 

Br. Brih 

 

 

 

Link to comment
Share on other sites

Did you change "Enable SSL" to "Yes" on the Preferences > General tab? It's also a good idea to change "Enable SSL on all pages" to "Yes" too, since Google ranks SSL websites slightly better.

 

If there are links that are still http after doing this, then you must have a theme or module that is coded incorrectly for SSL. You'll need to edit it and make sure relative links are used instead of absolute links.

Link to comment
Share on other sites

Hi Rocky,

 

Thanks for using your time on my problem. I did enable SSL, however the button enable on all pages doesnt exist in my version?!

 

Enabling SSL should at least have been giving me the option on the account page /my-account - all the options here are also linking to http only. I guess you are right, the theme doesnt support. There has been quite a few problems with that anyway, so why not also this :(

 

How do I double check that the theme would not support?? Should be something where with the href ??

 

I think it would require too much to nail this, compared to start all over I guess...I guess a lot need to be corrected.

Link to comment
Share on other sites

Hi Rocky, thanks for this. I will try to change this in near future and reactivate the certificate on the server to test again.

 

I will repost back. Again thanks for your help, I sincerely appreciate this.

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