Favicon cropped versions causing many 404 errors
-
HI,
I have noticed recently that my firewall (wordfence) in wordpresss is blocking a lot of visitors due to too many page not found error 404.
After digging with Wordfence support, we have found, that the issue is caused by a problem with images, specifically with favicon.
See screenshot here
https://ibb.co/C0yyXQ2
Specifically the favicon image is called Site-Logo-512px.png.
My site icon is cropped exactly to the specified resolution of 512x512px.
SO I tried to delete the image file and upload it again in the theme customizer.
But here instead of a single upload, the system automatically creates a duplicate to the Site Logo 512px.png file called cropped-Site-Logo-512px.png
This is creating many duplicates in my media library.
https://ibb.co/2ZKFTGY
Every time I try to select the original Site Logo 512px.png file, it automatically creates another duplicate in the media library. So there can be many copies of the same file for no reason
The worst part is, that when I upload the favicon via the theme customizer, I constantly get a lot of 404 error warnings from customers visiting my website as the system is not presenting them correct cropped versions of the site logo.
Sometimes i have hundreds of 404s from various visitors who do not get the favicon displayed properly.
I have also noticed, that when I try to set the favicon via ELEMENTOR site settings, then it somehow starts to work a bit again. But not when I do it via the theme.
https://ibb.co/5hsBxw8
I am running a Shopkeeper theme and all plugins and wordpress is updated to the most recent versions
As for the troubleshooting I am certain that it is caused by the WordPress itself.
I have created a staging site to troubleshoot and have disabled all the plugins and have used the standard Woocommerce Storefront theme. The issue is still the same.
Please provide a solution.
Thank you.
Kind regards
Michal
- You must be logged in to reply to this topic.