I am working on a wordpress website, when i load my website from google chrome i found the following errors: 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.
and 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.
Note: i have another domain name but this is an example
I have tried to install many secured SSL plugin but it doesnt change anything.
2
Answers
Load your font ressources over https instead:
If you change
siteurl
orhome
setting (eg: from ip to domain), WP will render css resource file with hard code of url. Some of them maybeCORS error
issues just only font link if you use ip on browser.For easy solution:
Manual quick fix
http
->https
url it into css file:Note: If you have issue on not only font link, eg: image, page link…. Please add this line in
wp-config.php
.It will convert all of
http
link intohttps