Support » Fixing WordPress » Mixed content warning for content not found

  • A new site I have just launched for a client loads with a padlock on Safari and Firefox, but on Chrome I get a Mixed content warning. When I open the console it shows me both the mixed content warning and a “Failure to load resource” error for the same .jpg file, which was a placeholder file I used early in the site development and have long since deleted.

    I did not get this warning during the development process, while the site was live with a “Coming soon” page as the home page. When I assigned /home as the home page, I started seeing the warning in Chrome.

    I am tearing my hair out to find and delete the reference to the image. Can somebody please point to where it might be?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Just a wild guess but try turning off that Oceans Extra plugin to see if that is causing this problem.

    There was a very oddball cookie being sent with a random ‘name’ that might have been present when you first built the site which possibly is causing this issue.

    ralphearle

    (@ralphearle)

    @t-p and @jnashhawkins, thanks for the suggestions. The Better Search & Replace plugin did not turn up the bad reference, and the Insecure Content Fixer plugin has not fixed the insecure content.

    I tried re-loading the offending file in its original location (/wp-content/uploads/2019/09/waterfall.jpg). This removes the “Failure to load resource” error but does not remove the mixed content warning.

    Here is the mixed content warning in its entirety: “Mixed Content: The page at ‘https://carolverner.com/’ was loaded over HTTPS, but requested an insecure image ‘http://carolverner.com/wp-content/uploads/2019/09/Waterfall.jpg’. This content should also be served over HTTPS.”

    I would like to edit and correct the insecure image pointer from http to https, but I have had no luck find it in my file system. Can you suggest where it might be lurking? Thanks.

    JNashHawkins

    (@jnashhawkins)

    I looked at the main page in Chrome and saw a mixed content warning but then I looked at the raw file and couldn’t find that image being called via HTTP.

    So I copied the whole page into a code editor and found two references to that file but they are both served by HTTPS.

    The only thing I can think of is, if you are familiar with the Elementor editor that was used to create that page, then you might look at that page via Elementor to search for that ‘HTTP’ image URL but I really thought search and replace should have been able to fix that via the database save of that page.

    One other thought might be to flush the cache and turn off the GoDaddy CDN for a bit. It’s possible that CDN might be insisting on serving that file that way until it flushes but that sounds kind of ‘far fetched’ for a CDN to act that way.

    If you still can’t find it then try asking for help in the Elementor support forum or ask GoDaddy for some advice.

    https://wordpress.org/support/plugin/elementor/

    JNashHawkins

    (@jnashhawkins)

    Just an idea but I’m wondering how that GoDaddy CDN might act with a really good cache dictating the expiry times?

    If it was my site I’d be tempted to run W3 Total Cache or Cache Enabler just to see.

    https://wordpress.org/plugins/w3-total-cache/

    https://wordpress.org/plugins/cache-enabler/

    I’m not sure that this would fix the problem… I’d almost be surprised if it did but… I wonder!!!

    ralphearle

    (@ralphearle)

    Thanks, @jnashhawkins. A couple more avenues to pursue. I’ll let you know when I eventually find the solution to this mystery.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mixed content warning for content not found’ is closed to new replies.