InMotion Hosting Support Center

My Prestashop page wont load properly after getting ssl

Category: Prestashop 15

2014-05-19 10:01 pm EST

Hits: 2,734
My url settings and redirects seem to be ok, but maybe the exact coding is not right to get Prestashop page to load properly with ssl on most browsers after clicking on "shop". My site is and I have a redirect from Following is an email from a moderator on the Prestashop forum:
"One main issue I see on the site is that you are trying to load ssl cross url, which is a big no-no in security. When I go to this page, that is how I see the page. The assets on the page do not load because you are redirecting them. This is actually where your stylesheet is located at, It does not have a valid ssl certificate, so it is not loading. You are going to have to put the site at one domain or the other. You are going to have issues trying to run two domains unless you run either a vps account or buy an ssl certificate that can secure more than one domain name."
I appreciate your help. I really need this to work as I have an ad in a national magazine.
help ticket # 100-1820535

You must login before you can ask a follow up question.

You must login before you can submit an answer.

there is an answer from your forum that sates that it could be an image coding issue: needs to be "relative". I could go through and change all those, but I can't find anywhere to switch to html mode...Maybe I should just use Prestashop as my main site? Another learning curve...
43 Points
2014-05-19 10:05 pm EST



11,186 Points
2014-05-20 8:10 am EST
Upon taking a look at your site, it looks like it was simply a caching issue within PrestaShop in which PrestaShop was retaining the old URL for the stylesheets. I have cleared your PrestaShop theme cache in which it has caused the stylesheets to load correctly.

After the CSS issue was resolved, I noticed that while most of your images were now loading correctly, they were trying to pull from the old domain still. I simply adjusted the following line in your config/ file to say the following:

define('_MEDIA_SERVER_1_', '');

This caused it to now pull the correct directory for your images instead of the old domain.

It looks like everything is now up and running for you. If you have any further questions, let me know. I'm happy to help.

You must login before you can post a comment about this answer.

Thank you so much! I checked it on my Mac and the Prestashop page is functioning. I still get the warning symbol with the SSL though that it is not secure. This may scare off some customers. Can you check? Thanks again. I using Firefox on a mac.
43 Points
2014-05-20 7:56 pm EST
Hello gordophysio,

It looks like the main problem causing the mixed SSL content warning in your web-browser would be coming from the image links you're using in your homeslider, which is the sliding image carousel in the middle of your page. It also looks like some images for the blockreinsurance module are being included insecurely.

For all content to be secure, it must all be included over https:// so that it is encrypted. Usually the easiest way to ensure this is to use relative paths to your images that simply point to the folder they are in from your website, or if you're going to use the full URL to the image make sure you place https:// before it.

You can use a website like to see what resources on your page are being included insecurely.

Please let us know if you're still having any issues at all after fixing these ones.

- Jacob
9,968 Points
2014-05-20 8:14 pm EST
Thank you for the help Jeff and Jacob. BUT, HOW do I create "relative" paths to my images that simply point to the folder they are in from my website? When do I do this? Do I have to do this every time I upload a new photo into Prestashop? Is this done in html view only? All my images are my own (not commercial) as these are my own products. Does this mean that they are "insecure"? If I have to do this every time, isn't it a better solution to use WordPress, which apparently has "relative" paths built-in so to speak? OR, as one of your techs suggested, just using Prestashop as my entire web site, but then does the SSL certificate have to be reassigned? Support people from Prestashop forum are saying that I need to have a separate SSL certificate for the Prestashop page, and that it's not a coding issue. Really? More money every year. I find it hard to believe that this process is so complicated when there are thousands of commerce web sites out there. I've been dealing with this for 2 months now.... scaring away customers. Thanks for any help guys...
43 Points
2014-05-21 2:46 pm EST
Like this Question?

Related Articles

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!