Icons Disappear, randomly turn to HTTPS

I created a thread on this earlier but no solution was found. On certain pages my website will turn to https and I cannot have this happen. The page itself will be normal http but randomly all of the links, products on category pages, or menu links will turn https. Please see attached screenshot.

I found a difference between pages. The other pages just use [category=XXXXXX] and the pages in question that would have these errors would use multiple shortcodes in addition to category like [category=XXXXX orderby=XXXX columns=3]. How can I use these shortcodes without seeing this error?

Hey Dan,

It could be because some of the URLs of your site’s resources are not switched to https. Please install the Better Search Replace plugin then do the following:


    search for http://example.com and replace it with https://example.com and
    search for http:\/\/example.com and replace it with https:\/\/example.com

Replace example.com with the domain name of your site.

Let us know how it goes.

I checked today and it was happening again. It was on several pages and they did not have anything to do with the shortcodes I mentioned earlier. However, after clearing the cache, the problem went away. Why would clearing the cache fix the problem?

Hi Dan,

This is actually a two-fold issue, first is your site caching and optimizer, please CLEAR all your caching features (plugins, Autoptimize, server-side, CloudFlare, and browser’s cache), and if you will please deactivate those for a while, this will help you to avoid any potential errors.

What is WordPress caching.

I see your site is under CloudFlare, please clear your CloudFlare caching directly on the CloudFlare Dashboard.

How do I purge my cache?

Second issue, is the mix-content errors:



You have an SSL certificate so your site resources should not access through http://www.amishgourds.com (non-secure) it should always redirect to https://www.amishgourds.com (secure protocol)

What Is Mixed Content?

To resolve that please follow Jade’s advise above.

Hope it helps,
Cheers!

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