SEM rush is showing errors on my blog pages: specifically, that there are “HTTPS version of this page contains links to HTTP pages”.
I did a page search to see them, and found them.
They are a part of the theme, for example header.php has:
<header itemtype=”http://schema.org/WPHeader” itemscope=”itemscope” id=”masthead” <?php generate_header_class(); ?>>
This is a picky issue as google does not give a “mixed content” message, but if I want to fix this, is the only way to create “child” pages of header, index, footer, etc. and change the code there to “https:” ?
Ran into a similar issue when I installed SSL certificate on my site. I viewed the source code and assumed anything with “http:” was causing the mixed content error. I noticed the schema url contained “http” and thought I had to change it to “https” to make it work. I couldn’t figure out how to update schema url but I found this website https://www.whynopadlock.com/ which tells you why your site is not secure, or at least guides you in the direction of what could be the cause.
I found out that some of my site images, like the logo and background, were causing the mixed content error which in turn does not display the green padlock. I removed those images completely from media library and uploaded new images. It works now!