Why Your Favicon Is Not Showing or Will Not Update
Start with the icon file, because most problems trace back to it. If the file doesn't load, nothing downstream will.
Open the file by its address
Type the icon's full web address into your browser. If you see the image, the file is in place. If you see an error page, the path in your link tag is wrong, or the file wasn't uploaded.
Read the link tag
Check that the tag sits in the head of the page and that the href matches the file's real location. The HTML steps show the form.
If you have no tag at all, browsers may still look for a file at the root. MDN describes an automatic request for /favicon.ico in the site's root1. A file saved anywhere else won't be found that way.
Two tags can also clash. Wikipedia says modern browsers will choose a linked favicon over the file in the website's root2. So an old tag pointing at an old file would win over your new favicon.ico.
Look for blocked images
If the site sends a Content Security Policy, a security setting that limits which files a page may load, it applies to the favicon. MDN says that if the favicon isn't loading, you should verify the img-src directive isn't preventing access to it1. Adjust that one directive. Don't remove the policy.
Think about the browser's stored copy
A browser keeps copies of files it has fetched. MDN says stored responses are either fresh or stale. A fresh response can usually be reused, and a stale one has expired3. So an old icon can linger because the browser sees no reason to ask again.
What you can do:
- Open the page in a private window, or in a different browser.
- Close the tab and reopen the site.
- Ask your host or developer how long icon files are allowed to stay fresh.
MDN's caching guide is general, not about favicons, so treat the exact timing as something to check for your own server.
Allow time for Google
Search results are a separate matter. Google says to allow time for it to recrawl your home page. Crawling can take anywhere from several days to several weeks4.
Keep the favicon's address stable. Google says not to change the URL frequently4. Also confirm Googlebot-Image can crawl the file. Google says it must be able to4. Even when every guideline is met, an icon isn't promised4. The full list is on the Google search page.
Check the format
If you use an SVG icon, remember Internet Explorer doesn't support SVG favicons2. A PNG or ICO fallback covers it. Formats are compared on the file types guide.
Sources used
- <link>: The External Resource Link element, MDN Web Docs
- Favicon, Wikipedia
- HTTP caching, MDN Web Docs
- Define a favicon to show in search results, Google Search Central