asked 8 years ago

hello, i have the same issue like Mark had (https://www.designwall.com/question/google-fonts-blocked-with-ssl/).
Mixed Content: The page at ‘https://pinupchart.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Oswald%3A700%3Alatin&text=1234567890MK.&ver=1.2.7’. This request has been blocked; the content must be served over HTTPS.
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.0

i tried with a cache plugin but it didnt work, i still got a unsecure hompage and my dw-argo.css already has the lines:

@import “//fonts.googleapis.com/css?family=Roboto+Slab”;
@font-face {
font-family: ‘NovecentowideUltraLightBold’;
src: url(‘../font/Novecentowide-Medium-webfont.eot’);
src: url(‘../font/Novecentowide-Medium-webfont.eot?#iefix’) format(’embedded-opentype’), url(‘../font/Novecentowide-Medium-webfont.woff’) format(‘woff’), url(‘../font/Novecentowide-Medium-webfont.ttf’) format(‘truetype’), url(‘../font/Novecentowide-Medium-webfont.svg#NovecentowideUltraLightBold’) format(‘svg’);
font-weight: normal;
font-style: normal;

where to look further?

1 Answers
answered 8 years ago

You can try the following solutions:

1/ Edit your theme replacing every occurency of http://fonts.googleapis.com/css?family=Roboto+Slab”… with https://fonts.googleapis.com/css?family=Roboto+Slab”… (mind the s).

Resources that might pose a security risk (such as scripts and fonts) must be loaded through a secure connection when requested in the context of a secured page for an obvious reason: they could have been manipulated along the way.

2/ Add the following code to the header.php file:

<link href='//fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>

Hope this helps !

replied 8 years ago

Hello Thank you for your efforts. i found it over the program help of chrome, filezilla and atom. the chrome devtool told me whats wrong, then i downloaded the wp directory and searched for “Oswald” with atom. The conclusion was It was a plugin, so it uninstalled it and everythings fine now.
cheers from a noob 🙂

Dominic Staff
replied 8 years ago

🙂 Please let me know, if you have any question, I will check and help you resolve it, my friend.

Maids On A Broom
replied 7 years ago

I’m also a noob and I’m having the same problem. Can you help?


replied 7 years ago

Hey Michael,
first you have to know where its coming from, you probably have mixed content, right? if so use the dev tools from your browser to find some hints about adresses in http instead of https. (Chrome Devtools > Network tab > right-click any column heading > click “Scheme”) after then download your wp directory over ftp and open it with an editor like atom (https://atom.io/) and look for the hint you got from the dev tool.. then i found out what it was… an old discontinued plugin, using the unsecure link to the webfont “oswald” so i deleted the plugin.
Or maybe you have pictures from unsecure links, ads from unsecure links, any kind of element from external sites can cause this. Turn these off or break the links to try again 😉 and look further… thats all i remember, what i did, good luck!
Daniel from Berlin..

Dominic Staff
replied 7 years ago

Hi Daniel,
Long time no sees, How are you? 😀 Thanks for your help, my friend.

@Maids On A Broom,
You can refer the answer from Daniel. If you still face their issue, please let me know.

Jeffrey Mobley
replied 7 years ago

Hello, I realize this is an older thread, but I am having the same problem. I did a ‘View Page Source’ in Chrome and cannot find the insecure content.

Daniel mentioned “download the wp directory and search in Atom”. Do you mean the root directory, or something specific?

Jeffrey Mobley
replied 7 years ago

Update: I downloaded my entire web root directory. However, I found the insecure links in wp-content. My advice would be to start with your-site/wp-content/plugins and then expand from there in order to save some time (it took a while to download my entire site root directory, as it was quite large).

Thank you you Daniel for the easy fix!

Dominic Staff
replied 7 years ago

🙂 If you have any question or Issue. Please let me know, we will discuss and resolve it.

Powered by DW Question & Answer Pro