- April 17, 2019 at 2:15 pm #1780571
Hello! I am having the strangest mystery, which 4 developers, my hosting company, Stack Overflow forums, and reviewing questions in the forum here have not solved. I am getting a mixed content error because of an image that isn’t even on the domain I’m using for the site and doesn’t exist in WP images library. From the filename, I know it is an earlier version of the image I used for the background for my menu. I installed an SSL and replaced all images with new secure versions when moving to the permanent domain name. Somehow, this earlier version of the image with the incorrect file name and domain name has gotten hard coded into the head. When we try to remove just that piece of code with the image name (or update it to permanent URL or change it to https), it breaks the CSS – in particular, it reverts all my pages layout back to default, removes Google font, reverts colors back to default, and reverts menu placement back to default.
It is imperative that I remove this old file and stop the pages trying to fetch a nonexistent image before loading the pages because where this occurs is only on two pages I’ve created for clients to log in – so browsers alert them their logins are insecure. I reached out to the plugin that I’m using for this log in feature to see if they cache old versions, but that really doesn’t make sense as I didn’t install that plugin until I’d moved to permanent domain on which the security certificate was already installed and I’d already removed this image.
I’ve reviewed all the best practices on resolving mixed content and none of those fixes apply to this situation. This is the only mixed content error I get on the whole site. I have not made any major changes to the CSS (aside from the two additions you advised me on to have menu and header image appear only on homepage – but I had this mixed content error before I added those). It appears to have gotten hard coded in just based on my using the settings in Appearance > Customize to add a menu photo at all – but I don’t understand why it didn’t update when this was replaced with a new domain and secure image. Please advise.April 18, 2019 at 4:16 am #1786197
Theme does not create such issue at all. However, if you want us to check onto it, then, maybe provide us the link to your site, where you are having that issue. Thanks.April 18, 2019 at 12:08 pm #1788778April 18, 2019 at 12:42 pm #1788932April 19, 2019 at 4:32 am #1793100
Can you visit Appearance->Customize->Header->Header Title Bar Background Image section and then, manage the image from there as needed for your site and check once? Thanks.April 19, 2019 at 5:18 am #1793396April 19, 2019 at 5:30 am #1793468
WAIT! It worked! Bishal, I would hug you if possible. I just had to add, then delete an image from the Header Title Bar Background placement and then add again the new one I wanted to link to in the Header Background setting and all mention of the old one has vanished. You have saved the day. 🙂 Thank you so very much.April 19, 2019 at 8:39 am #1794267
Do let us know if you have got any further query regarding to our theme.
We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
You must be logged in to reply to this topic.