Hi, I am running my website over HTTPS. When I load it (https://projectmanagers.org) I get the following error in the Chrome Developers console:
Mixed Content: The page at ‘https://projectmanagers.org/’ was loaded over HTTPS, but requested an insecure font ‘http://projectmanagers.org/wp-content/themes/IIEC-Custom5/images/icons/newspaper-icons.woff/?1’. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at ‘https://projectmanagers.org/’ was loaded over HTTPS, but requested an insecure font ‘http://projectmanagers.org/wp-content/themes/IIEC-Custom5/images/icons/newspaper.woff/?9’. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at ‘https://projectmanagers.org/’ was loaded over HTTPS, but requested an insecure font ‘http://projectmanagers.org/wp-content/themes/IIEC-Custom5/images/icons/newspaper-icons.ttf/?1’. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at ‘https://projectmanagers.org/’ was loaded over HTTPS, but requested an insecure font ‘http://projectmanagers.org/wp-content/themes/IIEC-Custom5/images/icons/newspaper.ttf/?9’. This request has been blocked; the content must be served over HTTPS.
I’ve tried to fix this by using some “Force HTTPS” plugins but it doesn’t get fixed.
Maybe there’s some issue in the code of the Newspaper theme.
Use Search & Replace plugin. Replace “http://” to “https://”
Sure to make a backup before an operation.
I installed that plugin but it seems it is for changing data in the database. My problem seems to be with files of the Theme.
If I change files of my theme with this plugin, everytime I update the theme I will have the same problem.
In any case, maybe I am wrong and it is not an issue of the theme.
Hello,
Our theme is fully compatible with both http and https. Please use these few resources for a few hints on how to properly set up https:
http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
https://css-tricks.com/moving-to-https-on-wordpress/
https://yoast.com/dev-blog/move-website-https-ssl/
You can also check our forum for some insight on ssl:
https://forum.tagdiv.com/topic/moving-to-ssl/
Thank you!
In our case when moving to https we found the following helpful
a) put explicit links to https version of site and plugins folder in your wp-config.php file – also set force SSL logins in wp-config.php (see WP codex on editing the wp-config.php file)
b) make sure you have a redirect link in htaccess for any http requests to go to https
c) make sure you do search replace in your dbase post table via mysql for your http://sitename to https://sitename
d) make sure site only loading one version of site (e.g., www or non www); or have cert that works both ways
e) make sure cache cleared for doing any above
f) also resave permalinks
g) replace any links in theme panel such as logo links, RSS icon link in header or apps
h) replace any default image links in yoast seo or whatever with https version
Hope that helps 🙂
Just finished converting all our sites to https that were not already, set for 2017!
Hi thanks. The point is that I’ve not moved my website to https. It’s been working in https for more than 2 years correctly with Jarida theme.
I moved to Newspaper theme last summer. I think it was working also fine at first. But in the last months I’ve noticed this error.
Not sure if they caused by some plugin or by the theme, or a mix of all. I am just checking it. I am using a child-theme, which could be here also the problem. I will continue searching for the problem.
All the best,
Angel
Probably looking at the source code on the page to see WHERE the icon is being loaded, or where the font is being loaded, might be useful.
Check your widgets not loading anything via full URL without https.
And also note if you have a proper redirect element in your htaccess to load *all* http requests via https, you should not be getting that error, hence my suggestions.
Good luck!
🙂
that being said, I do know some “older” versions of the theme *did* have a link in one of the functions to load Google fonts via ://google vs explcitly https://google and that didn’t always work.
I seem to recall having to go into the main theme functions file once upon a time to fix that manually, so if you’re on an old version like 6x that might do that… but I think 7.5 is all setup for http or https depending on the site.
