Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Insecure font blocking my https website

Tags:

https

ssl

fonts

Dear stackoverflow experts,

I've been reading in stackoverflow forum about the issue but didn't find a solution

I'm experiencing a problem with my website https://baliradar.com since I installed SSL. I changed all the http links by https.

However I cannot resolve the problem of insecure font though, here's the console log error message:

 Mixed Content: The page at 'https://baliradar.com/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/lato/v11/nj47mAZe0mYUIySgfn0wpQ.ttf'. This request has been blocked; the content must be served over HTTPS.

I have been searching for hours with FileZilla in the files of my theme "winning agent pro" and in other directories of my website but I never found the html code for the font. I tried to search for specific keywords ("fonts", "gstatic") in my File Manager from my CPanel but there's no records found.

I also tried to use the "Developer Tool" of Chrome to find the source of the font without success.

I'm clueless here and was wondering if someone has an idea or a solution?

Thank you for your time.

Xavier

like image 893
Didz Avatar asked Jul 05 '26 11:07

Didz


1 Answers

There are several http:// links in your CSS code, which is linked in your header as <link rel="stylesheet" type="text/css" href="https://baliradar.com/wp-content/cache/minify/000000/e4a39/default.include.08bf2a.css" media="all" />:

.mCSB_buttonRight{background-position:-80px -56px}@font-face{font-family:'Lato';font-style:normal;font-weight:300;src:local('Lato Light'), local('Lato-Light'), url(http://fonts.gstatic.com/s/lato/v11/nj47mAZe0mYUIySgfn0wpQ.ttf) format('truetype')}@font-face{font-family:'Lato';font-style:normal;font-weight:400;src:local('Lato Regular'), local('Lato-Regular'), url(http://fonts.gstatic.com/s/lato/v11/v0SdcGFAl2aezM9Vq_aFTQ.ttf) format('truetype')}@font-face{font-family:'Lato';font-style:normal;font-weight:700;src:local('Lato Bold'), local('Lato-Bold'), url(http://fonts.gstatic.com/s/lato/v11/DvlFBScY1r-FMtZSYIYoYw.ttf) format('truetype')}@font-face{font-family:'Lato';font-style:normal;font-weight:900;src:local('Lato Black'), local('Lato-Black'), url(http://fonts.gstatic.com/s/lato/v11/4cKlrioa77J2iqTqBgkRWg.ttf) format('truetype')}.currencyr{position:fixed;z-index:2147483647}.currencyr .currencyr-container,

As it seems that this is a minified version of your css, search in your current theme's css-files for the http phrase. You can do so using grep for example:

grep 'http://fonts' * -R
like image 76
sebix Avatar answered Jul 07 '26 16:07

sebix



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!