2 errors on page!

GK User
Fri Sep 12, 2014 10:40 am
[blocked] The page at 'https://www.longa-utrecht.nl/' was loaded over HTTPS, but ran insecure content from 'http://fonts.googleapis.com/css?family=Roboto:400,700': this content should also be loaded over HTTPS.
www.longa-utrecht.nl/:1
Failed to load resource: net::ERR_INSECURE_RESPONSE https://ssl.google-analytics.com/ga.js

Both issue are found with google developer tools. Started the investigation because IE gave me some SSL warnings/blocks on mixed data.

The strange thing with the googlefonts Roboto is that it's not in my config??? And the ga.js is from google analytics!
Can somebody help me out?
User avatar
Fresh Boarder

GK User
Fri Sep 12, 2014 11:34 am
Hoi,
where you saw such a errors?
I browse your website via FF33 and IE11 - no error message for typical user.

Ok, let's start from Fonts.
By default all Google Fonts are loaded from http
for example:
http://fonts.googleapis.com/css?family=Open+Sans

but in template settings in FONT tab, you can use your own url
Anyway, change your links from http://fonts.goog..... to //fonts.goog..... this will let the browse decide the correct protocol and fix the issue, failing that you will have to have your server language detects if its https or http, and echo the correct protocol, but its easier to leave the protocol out as i suggested and let the browser handle it
User avatar
Platinum Boarder

GK User
Fri Sep 12, 2014 11:38 am
About second question,
hmm... I have no idea, but I have found this topic: http://stackoverflow.com/questions/2208 ... e-response
User avatar
Platinum Boarder

GK User
Sun Sep 14, 2014 5:22 pm
Both issue's solved!
The google analytics issue was caused by a proxy which blocked the google analytics.
The google fonts issue was cause by hardcodes http url in a jcomments template .....
User avatar
Fresh Boarder

GK User
Sun Sep 14, 2014 6:59 pm
For few moment I was surprised I didn't saw such a "errors" before on our clients websites or mine.
Thanks for info. Now I think you know that our templates are good coded.
User avatar
Platinum Boarder


cron