If you’re constantly benchmarking new WordPress sites, especially fresh installs, it can be annoying as a missing favicon will generate a 404 error in speed testing tools.
But great news! If you already install our Perfmatters plugin as part of your regular workflow, we now have a simple option to generate a blank favicon on your site with just code (data). You can read more about this in our in-depth post on how to manually create a blank favicon.
Add a blank favicon
To add a blank favicon, follow the steps below.
Click into the Perfmatters plugin settings.
Under the “Options” tab and “General” sub-navigation menu, toggle on “Add Blank Favicon.”
Scroll down and click “Save Changes.”
This will automatically generate code like the block below in the header of your WordPress site to fix the 404 error.
<link href="data:image/x-icon;base64,iVBORw0KGgoABIAAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" />