admin管理员组文章数量:1122846
So I made a wordpress theme, everything works ok on localserver. Updloaded it to a webserver and here is the problem: neither style.css or any of the .js files I've made load. The console returns this error:
(6) Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure stylesheet ''. This request has been blocked; the content must be served over HTTPS.
1 of the 6 similar errors: Mixed Content: The page at '/' was loaded over HTTPS, but requested an insecure stylesheet '.min.css?ver=6.5.3'. This request has been blocked; the content must be served over HTTPS.
(8) Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure script ''. This request has been blocked; the content must be served over HTTPS.
So, same error for stylesheet and scripts. Only the html structure and it's images are loaded, but no styles applied, no scripts loaded.
BUT after a single forced reload (ctrl+shift+R), everything loads normally. I have no idea what might be the problem. Thanks in advance for any helpers :)
本文标签: httpsStylecss and js files doesn39t load at firstload only after forced reload
版权声明:本文标题:https - Style.css and .js files doesn't load at first - load only after forced reload 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306414a1932949.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论