• I have a problem with the script not being loaded over https.

    Mixed Content: The page at 'https://domdzwieku.pl/' was loaded over HTTPS, but requested an insecure script 'https://domdzwieku.pl/wp-content/cache/caos-analytics/analytics.js'. This request has been blocked; the content must be served over HTTPS.

    How do I fix it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    How do your URL settings look in WordPress > Settings > General?

    Thread Starter Tom

    (@atomiktd)

    Thread Starter Tom

    (@atomiktd)

    Any news?

    • This reply was modified 4 years, 7 months ago by Tom.
    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    I just visited your site. You have issues with your SSL certificate. I’m getting this error: SEC_ERROR_EXPIRED_CERTIFICATE

    Resolve this first, because this might resolve the issue and now we can’t accurately debug it.

    Thread Starter Tom

    (@atomiktd)

    This is strange because actually Kaspersky antivirus reports this problem to me as well but when I view certificate it is still valid for 1 year more (10/04/2021). I have to check it with my ISP

    Would you be so kind and check https://taichi-poznan.pl as well? I don’t have this kind of problem with the certificate on that site and there is the same problem with CAOS.

    I’ve found on it, that when my setting is Analytics.js, it doesn’t happen but when I switch to Gtag.js it does.

    Does it make any sense for you?

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Ah, that’s strange.

    Let me see if there’s a bug in the rewrite mechanism for gtag.js.

    I’ll keep you posted.

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    There doesn’t seem to be a bug in there.

    CAOS uses the function content_url() to generate the path to the analytics.js file in gtag.js.

    Do you by any chance have WP_CONTENT_URL set in your wp-config.php? Or another plugin installed, that modifies your content url?

    Thread Starter Tom

    (@atomiktd)

    It used to be on the previously mentioned site but I removed it as the first suspect.
    It’s never been on taichi-poznan.pl

    I will try to investigate it on some less visited site later on. Maybe there is another plugin that interferes.

    Thank you for your effort. I’ll keep you informed.

    Tom

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Mixed content – http instead of https’ is closed to new replies.