Jump to content

After enabling SSL for all pages, "home" in breadcrumb still pointing to http instead of https


samo70

Recommended Posts

Hello,

 

I have multistore and I have enabled SSL in general options, and then enabled Force the SSL on all the pages. In administration everything is OK, there is green line https. But on other pages, there is https but not green, there are some security issues. I have noticed, that link "home" in breadcrumbs is still pointing on http instead of https, main logo is pointing to http too so I think these causing the security alerts.

 

But I can´t find the way how to set https also in breadcrumb link home and main logo. Everything else is pointing to https automatically.

 

I have PrestaShop 1.5.6.2

 

Please help me, thankyou

 

 

Link to comment
Share on other sites

It was because of main logo pointing to http. I found that it is a bug in Prestashop, I modified /classes/Link.php file to fix it.

 

line 410, there should be:

return $this->protocol_content.Tools::getMediaServer($filepath).$filepath;

 

instead of:

return Tools::getProtocol().Tools::getMediaServer($filepath).$filepath;

 

(PrestaShop 1.5.6.2)

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