Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Mini Cart image not loading over SSL
Author « Topic »  

JustDucky923
Ecommerce Template Guru

USA
1333 Posts

Posted - 07/20/2018 :  07:25:19  
I have a WP site that we just added SSL to and then used the plugin Really Simple SSL to update all of the pages. This worked great except for one section- the down arrow and cart images in the Mini Cart in the header. The header is added to this page using the Header Widget and SiteOrigin Page Builder. I've used a SiteOrigin Editor to add the shortcode [MiniCart] and this works fine on the home page but does not show as an image on all the other pages (execpt the store pages themselves, they seem to be displaying all images correctly). This was working fine until I added the SSL yesterday. I have tried updating the permalinks, but that did not work.

When I do a "view image" on the home page the url for the image is: https://curtisknight.com/images/arrow-down.png - but on other pages it shows this url (for instance): https://curtisknight.com/prices/images/arrow-down.png.

Here is a link to one of the pages so you can see the issue. It is in the header on the right where the MiniCart should be: https://curtisknight.com/prices/

Thanks!

Andy
ECT Moderator

95440 Posts

Posted - 07/20/2018 :  07:34:18  
Hi

Looking in your code I would expect to see something like this in the header

<base href="https://yoursite.com/" />

That way the image etc paths remain correct even when the page is using that type of page structure.

We have the same structure on our demo store and you'll see the images correctly

http://ectwp.com/plugins/

Andy

Please feel free to review / rate our software

JustDucky923
Ecommerce Template Guru

USA
1333 Posts

Posted - 07/20/2018 :  07:41:10  
I didn't know about that. So this should go in the header.php file?

<base href="https://curtisknight.com/" />

Where in that file should it appear?

JustDucky923
Ecommerce Template Guru

USA
1333 Posts

Posted - 07/20/2018 :  07:54:03  
That did it!

Thanks so much :)

Andy
ECT Moderator

95440 Posts

Posted - 07/20/2018 :  07:54:23  
Yes, put it in header.php anywhere before the css lines so just after the <title> for example.

Andy

Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000