Jump to content

site partially encrypted


deafmouse

Recommended Posts

  • 2 weeks later...

i discussed this through another one of my posts. here is what i did to fix it:

1. All images and external files (such as calling css and javascrips) must come from https:// protocol. what i did was view source and found all the http:// via the find tool, then went to my .tpl files and replaced the links with https:// (you might have to edit the module tpl files if the insecure items are coming from the module, you should know if its a module by looking at the source code). if you hardcoded the links (full link) then you will have this problem, all relative links will not be an issue as it will keep the protocol your under.

if your calling items from an external source, someone else's website, the only way to get it https is if he has a ssl cert installed. if he doesn't have a secure connection, the only way around that is to host the file/image on your server (with their permission of course).

note: i changed all the text links too, although they shouldn't give you any warning. but my site is always in https mode.

2. Also changed $protocol = http:// to $protocol = https:// in one of the config files. i cant remember where now. what this did was make sure prestashop rewites the urls ad https:// (which i wanted so my site never leaves a secure connection). make sure ssl is activated in the back end too.

3.you can check if your cert is installed correctly at www.ismysitesafe.com

4. use developer tools in google chrome to see where the insecure items are coming from.

if your still having problems after all this, best thing you can do is give a link to the site so people can look at it.

Link to comment
Share on other sites

All your images are http://. you need to rewrite the links so it shows up https://
goto you browser and view source. once your looking at the source code goto edit > find then search for all the instances of src="http:// . your homepage shows 22 images using http://. it has to be 0... also change the link to you favicon to https.

ALL IMAGES AND FILES MUST BE PULLED FROM HTTPS:// PROTOCOL


Also please follow the steps mentioned above before asking next time. i took the time to help explain in detail how i fixed the issue and everything you need to look at to diagnose. I don't mind helping you, but no point in me repeating the same stuff. follow the ALL the steps above and if you still have a problem we can take it from there.

Link to comment
Share on other sites

will be in themes > (your theme folder)
then edit the .tpl files. (index.tpl will be the code for index.php, header.tpl if its in you header, etc.)

if the picture is in a module you will have to edit the .tpl file for that module. you can keep an eye for the comments in the source code for when modules start and stop.

will look like this:

<!-- Category Block Start -->

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