我正在做一个wordpress网站,当我从google加载我的网站时,我发现了以下错误:Mixed Content: The page at 'https://www.example.com/' was loaded over HTTPS, but requested an insecure font 'http://example.com/wp-content/themes/woodstock/fonts/woodstock/woodstock.woff?421wez'. This request has been blocked; the content must be served over HTTPS.和Mixed Content: The page at 'https://www.example.com/' was loaded over HTTPS, but requested an insecure font 'http://example.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf'. This request has been blocked; the content must be served over HTTPS.
注:我有另一个域名,但这是一个例子,我试图安装许多安全的SSL插件,但它不会改变任何东西。
发布于 2020-05-04 17:55:18
将字体资源加载到https上:
https://example.com/wp-content/themes/woodstock/fonts/woodstock/woodstock.woff?421wez
https://example.com/wp-content/plugins/woocommerce/assets/fonts/star.ttfhttps://stackoverflow.com/questions/61592499
复制相似问题