How to change all images to HTTPS from HTTP?

My entire site (campstoregear.com) says “Partially insecure connection”.

All of the images on the site are being pulled from the HTTP version of my CDN (WP Engine).

How do I change them all over to the HTTPS version without going into Cornerstone on every page and re-inserting each image?

http://drops.definityweb.com/a304eec03c39/Image%25202018-08-21%2520at%25204.54.48%2520PM.png

I’ve used the Better Search and Replace plugin to search for http://campstoregear.com and replace it with https://campstoregear.com. (per instructions here)

This found about 1000 items to change. But… I don’t see any change on the front end.

More details here: http://drops.definityweb.com/24b6bf9c1b9e

Hi There,

Upon checking your console log, I could see that all the source files are loading over WP Engine domain. E.g:

http://35qdclpzuub3qxumdcz2kndo-wpengine.netdna-ssl.com/wp-content/uploads/2017/05/camp-store-gear-logo-full-black-160px.png

Please try replacing the http://35qdclpzuub3qxumdcz2kndo-wpengine.netdna-ssl.com/ URLs with your domain: https://campstoregear.com/.

Hope it helps :slight_smile:

Hi,

Please make sure you have uncheck this.

If you have any cache plugin installed, make sure to clear the plugin cache after doing the search and replace

Thanks

Thanks for the reminder. I had it unchecked yesterday when performing the search.

Here’s the result:
http://drops.definityweb.com/3c8592894433/Image%25202018-08-22%2520at%25209.22.00%2520AM.png

After running the same search this morning, 0 cells were found that need to be updated but it’s still not secure.

http://drops.definityweb.com/4f8f62bc5ed1/%5Bcfaec5601ad37dcc54d3af7017473085%5D_Image%25202018-08-22%2520at%25209.18.45%2520AM.png


@thai, this search results in 0 items as well.

http://drops.definityweb.com/d386d96048ce/%5B76d39c4112c02e4599501e9fc7e37aec%5D_Image%25202018-08-22%2520at%25209.24.37%2520AM.png


No caching plugins and both WP Engine and Cloudflare caches have been purged.

Hi There,

Could you please temporarily turn off the Cloudflare and CDN services?

Then providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link login to your site
  • WordPress Admin username / password

Thanks.

###After turning the CDN off, the lock came back.

I spoke to WP Engine, again, and they wrote some script for me to add to the HTML Post-Processing section.

#https?://(www.)?(campstoregear.com|campstoregear.com|35qdclpzuub3qxumdcz2kndo.wpengine.netdna-(cdn|ssl).com)/wp-(content|includes)# => https://35qdclpzuub3qxumdcz2kndo-wpengine.netdna-ssl.com/wp-$4

http://drops.definityweb.com/c1d75103defa/%5B5ef08965fa31c917e14b848ef7c0404a%5D_Image%25202018-08-22%2520at%25203.16.42%2520PM.png


Thanks for your help and hope this helps someone else.

Hello There,

It’s good to know that you have resolved your issue.
We also appreciate for sharing this information as this would help other users.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.