• Resolved ehoff

    (@ehoff)


    Hi,
    after installing WPO on my site, I encountered following error in the browsers console:

    Mixed Content: The page at 'https://www.<my domain>.de/blog/wp-admin/about.php' was loaded over HTTPS, but requested an insecure script 'http://www.<my domain>.de/data/www/www.<my domain>.de/public/blog/wp-content/plugins/wp-optimize/includes/blockui/jquery.blockUI.min.js?ver=3.2.16'. This request has been blocked; the content must be served over HTTPS.

    The requested scripts path is requested from a wrong path. The path should be 'http://www.<my domain>.de/blog/wp-content/plugins/wp-optimize/includes/blockui/jquery.blockUI.min.js?ver=3.2.16'

    Any advise how to fix this?

    Note: It seems, that this is an include from WPO directly, my cached/compressed/minified files are working as expected!

    Edit: I am using Chrome 114 and WordPress 6.2.2 with the newest version of WPO.

    • This topic was modified 1 year, 10 months ago by ehoff.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    This is a chrome issue unfortunately. Here is a guide on it: https://www.howtogeek.com/443032/what-is-mixed-content-and-why-is-chrome-blocking

    You can unblock mixed content (how to do this is discussed in the above guide)

    Ultimately you will need to upgrade your site to https though.

    Thread Starter ehoff

    (@ehoff)

    Hi @vupdraft ,

    thank you for your answer. My site is using HTTPS. But this plugin is somehow requesting an asset via HTTP. But as I mentioned earlier, the issue comes from the wrongly typed path in the request.

    My assumption is, that it should be a relative path but at the place the asset is requested, the path starts with a ‘/’.

    So the ‘Mixed Content’ is a kindo confusing error in this place since an asset is simply requested via a falsy filepath.

    Plugin Support vupdraft

    (@vupdraft)

    Can you try doing a search and replace using the better search and replace plugin

    Search for http://www.yousite.com

    Replace with https://ww.wyoursite.com

    Please do a backup before you do this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mixed Content Error due to path error’ is closed to new replies.