• Resolved iphil

    (@philstudio)


    Hi Guys.
    Thank you for this perfect product.
    Help me, please fix the SSL loading problem.
    I have mixed content warnings on my site.
    I assume the cause of the problem is google maps element and this link «http://maps.gstatic.cn/mapfiles/embed/images/google4.png»
    Help me, please.
    Thank you advance.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Following with great interest as I have the same issue.

    This has been happening for a few hours, google maps is bugged and giving certificate errors while using the embed html code, just wait some hours until they fix it 😉

    I found a fix. Using Head, Footer and Post Injections plugin I put <meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests”> in the header of all pages. No more mixed content error.

    @jbarkacs Please where can i put this code?

    Use this; https://wordpress.org/plugins/header-footer/

    Place it in the <head> section in plugin settings.

    Easy peasy.

    Thread Starter iphil

    (@philstudio)

    This does not work for a problem on my site 🙁

    I have the same problem 🙁

    add the following code to the .htaccess file in the root folder

    Header always set Content-Security-Policy: upgrade-insecure-requests

    Have the same thing happening. More info in the google forums with a fix: https://support.google.com/maps/thread/13002607?hl=en

    The fix mentioned there worked: adding <meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests”> to header.php

    You don’t need an extra plugin like others suggested. Just go to your site Dashboard > Appearance > Theme Editor > Theme Header (header.php) and add <meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests”> somewhere between <head> and </head>.

    Be careful editing this page within the theme editor if you are inexperienced because no changes you make will be backed up.

    • This reply was modified 5 years, 1 month ago by codings.
    Thread Starter iphil

    (@philstudio)

    Thanks you codings (@codings). Your method works.
    But this will stop works after updating the theme and this not good.

    There was an issue with Google Maps but this has been resolved now. If you’re still seeing this issue on your websites, please clear your cache and try again.

    Thread Starter iphil

    (@philstudio)

    Yes it’s true. The problem is resolved.
    Thanks to all.

    @philstudio it wouldn’t stop working if you add it correctly to your child theme.

    @codings
    thank you very much
    your sol. work like a charm 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Mixed content warnings due to google map element’ is closed to new replies.