<link rel="icon">
- Size
- 32x32
- Purpose
- Standard icon
Set your WordPress favicon through the Site Icon setting in the Customizer or Site Editor, then check it against Google's favicon guidelines.
WordPress calls the favicon the Site Icon. On a classic theme, set it at Appearance > Customize > Site Identity. On a block theme, open Appearance > Editor, then Identity. WordPress says the image should be square and at least 512 by 512 pixels. Google also needs a crawlable home page and favicon file.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
| Theme type | Where | What WordPress documents |
|---|---|---|
| Classic theme with the Customizer | Appearance > Customize > Site Identity > Site Icon > Select Image | Icons must be square, and at least 512 pixels wide and tall |
| Block theme | Appearance > Editor, then Identity in the sidebar | The Identity menu is only available with an activated block theme |
| Block theme, from the Site Logo block | Site Logo block settings, where the Learn WordPress tutorial says you find the setting to set a site icon | That tutorial says to set a logo first, then you can delete it later and the site icon remains |
The Customizer is only available if the active theme supports it. WordPress says it stays hidden for block themes unless a plugin needs it. If you cannot find Site Identity, check whether the active theme is a block theme.
Use a square image of at least 512 by 512 pixels. WordPress says the Site Icon is shown in browser tabs, bookmarks, and mobile apps. Google recommends a favicon larger than 48x48px.
In a classic theme go to Appearance > Customize and open Site Identity. In a block theme go to Appearance > Editor and select Identity.
Pick or upload the file in the media library. In the block theme Identity screen, WordPress says you can click the image to open the media library and pick a different one, or remove it with the X when you hover.
In the Customizer, click Publish. In the Site Editor, save your changes. WordPress says Identity changes are available after saving.
wp_site_icon(), which its developer reference describes as displaying site icon meta tags. A theme normally does not need a hand-written <link> tag.<link rel="icon"><link rel="icon"><link rel="apple-touch-icon"><meta name="msapplication-TileImage">Each size is only output if it is available. Plugins can modify the tags through the site_icon_meta_tags filter, so a plugin can also change what a page prints. View the page source and search for rel="icon" to see the live result.
<link rel="icon" href="/path/to/favicon.ico"> to the home page headerOpen the live home page, view source, and search for rel="icon". Confirm the URL loads in a browser.
Open /robots.txt and make sure nothing blocks the home page or the icon file. See WordPress robots.txt.
Inspect the home page URL in Search Console and request indexing, then wait. See the favicon glossary entry for how it appears in results.
Google also says a favicon is not guaranteed to appear in Search results even if every guideline is met, and that its crawl can take anywhere from several days to several weeks, so a browser tab can show the new icon well before Search does. For other head tags WordPress controls, see WordPress title and meta.
4 questions people ask next, answered from the sources on this page.
Set the Site Icon. In a classic theme use Appearance > Customize > Site Identity. In a block theme use Appearance > Editor > Identity. WordPress says the image should be square and at least 512 by 512 pixels.
WordPress says square and at least 512 by 512 pixels. Google needs a square favicon of at least 8x8px and recommends one larger than 48x48px.
Google says crawling can take several days to several weeks. Also confirm that Googlebot can crawl the home page and Googlebot-Image can crawl the icon file, and that the icon URL is stable.
Yes. WordPress's Site Editor Identity page lists Site Icon next to Site Logo, so you can set it there directly. An older Learn WordPress tutorial says to set a logo first, then delete it later, and the site icon remains.
Run the free audit, then approve the fixes. Every change can be undone.