Cart image not secure, adding https breaks cart image
-
I have been working on a Woocommerce site for a few years. At one point, my store had the (example) url https://yourfavoritestore.com. I eventually changed it to https://favoritestore.com. I noticed I had a few images that were pulling from the old url so I used the better search and replace plugin to swap urls.
I also used the SSL checker on jitbit.com and noticed I had a few images being served over http despite having my website set to force SSL. I used the replace tool on these and all went well, except when I tried to update the image link for the shopping cart. Changing from http to https breaks the shopping cart image. I am using a jpg image that I got from a royalty free site that looks slightly better than the standard options in Woocommerce.
The tool worked fine on every other image except the cart one. The only difference between this image and the others is that this one is in the header. I posed this question on a different forum and someone mentioned that I may have my WordPress url settings configured incorrectly. They stated that if my url is not https in WordPress general settings, then my image will not be uploaded with https. MY url is in fact listed with only http (no S), in the WordPress settings. This contradicts the information my hosting company is telling me because they say every image is uploaded with https regardless. I don’t know which is true.
If that is true, then I still don’t understand why the better search and replace tool would break only that image. Currently the way my website is set up, if someone types in https://favoritestore.com, it will redirect to https://www.favoritestore.com before eventually landing on https://favoritestore.com. Cloudflare requires the www and the final redirect is without the www because Apple Pay on the stripe plugin will not work with the www in the address. I am using CLoudflare aggressive caching, another person mentioned it could be a caching issue, but again the cart image is the only one that has the issue. Any advice is appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Cart image not secure, adding https breaks cart image’ is closed to new replies.