Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Favicon blocked by robots.txt: why Google shows a globe

SEO-242Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A favicon is the small icon shown next to your site name in Google results, browser tabs and bookmarks. Google's favicon crawler is Googlebot-Favicon, and it respects robots.txt. If a rule in robots.txt blocks the icon file, or the folder holding it, Google can't download it. It then falls back to a generic globe icon.

Why it costs you leads or sales

The impact is small but real. In mobile results the favicon sits beside your brand name and URL. A grey globe looks like an unfinished or untrusted site, while a recognisable icon helps people spot your brand among similar results. It won't break your funnel, but it can lower clicks from search a little, and it signals a wider crawl configuration problem worth fixing.

How a blocked favicon reaches searchers
  1. Page has favicon linkYour HTML points to /favicon.ico or a PNG
  2. Crawler checks robots.txtA Disallow rule matches the icon path
  3. Icon fetchedGoogle never downloads the file
  4. Brand icon in resultsSearchers see a globe instead

The break happens when Google's favicon crawler reads robots.txt.

How to check if your site has it

Check whether robots.txt blocks your favicon
  1. Find your icon URL

    View the page source and search for rel="icon". Note the href, for example /wp-content/uploads/icon.png. If there is no tag, Google also tries /favicon.ico.

  2. Open your robots.txt

    Visit yourdomain.com/robots.txt and read every Disallow line. Look for any that is a prefix of your icon path.

  3. Test the URL in Search Console

    In Google Search Console, open URL Inspection, paste the icon URL and run the live test. A result of 'Blocked by robots.txt' confirms the problem. The robots.txt report under Settings shows which file Google last fetched.

  4. Check the rules for the right crawler

    Rules under User-agent: * apply to Googlebot-Favicon unless a more specific group exists. Check both.

Example of a rule that blocks the favicontext
User-agent: *
Disallow: /assets/

# Favicon lives at /assets/img/favicon.png, so it is blocked

How to fix it

The fix is to let crawlers reach the icon file. Either narrow the broad rule or add an explicit Allow line. Google follows the most specific matching rule, so a longer Allow path wins over a shorter Disallow.

Allow the favicon by platform
  1. Open the virtual or physical robots.txt

    If you use Yoast SEO, go to Yoast SEO > Tools > File editor. With Rank Math, go to Rank Math > General Settings > Edit robots.txt. Otherwise edit the robots.txt file in your site root.

  2. Add an Allow line

    Add Allow: /wp-content/uploads/ above your Disallow rules, or remove a Disallow on the folder that holds your site icon. Check Settings > General or Appearance > Customize > Site Identity to see which file is your site icon.

  3. Save and clear caches

    Clear any caching plugin or CDN cache so the new robots.txt is served.

Fixed robots.txttext
User-agent: *
Allow: /assets/img/favicon.png
Disallow: /assets/

How to confirm it's fixed

Confirmation checklist
  • yourdomain.com/robots.txt shows the updated rules
  • The URL Inspection live test on the icon URL no longer says 'Blocked by robots.txt'
  • The icon URL opens in a browser and returns status 200
  • The icon is square, at least 48x48 pixels, in a format Google supports
  • You requested indexing for your homepage in Search Console

Google refreshes favicons on its own schedule, so the new icon can take days or a few weeks to appear in results. Requesting indexing of the homepage can speed up the recrawl, but there is no guaranteed timing.

How to prevent it happening again

Habits that keep the icon crawlable
  • Review robots.txt after every redesign, migration or SEO plugin change
  • Avoid blocking whole asset, uploads or theme folders
  • Keep a copy of the working robots.txt in version control
  • Re-run a URL Inspection on your icon after any robots.txt edit
  • Check search results for your brand every few months

How FunnelGuard handles this

FunnelGuard does not check this yet. A robots.txt test for the favicon is a possible future check, but today it is not part of the product.

What FunnelGuard does cover is the customer journey: it runs your lead forms, checkouts and booking buttons on a schedule, checks tracking hits, and confirms test leads arrive. That protects revenue, but it won't tell you about a blocked icon.

To watch for this yourself, add a calendar reminder to open robots.txt after each site change and run URL Inspection on the icon URL in Google Search Console. Any SEO crawler that reports robots.txt-blocked resources can also flag it.

Questions people ask

Why is my favicon showing as a globe in Google search results?

Google shows a generic globe when it can't fetch or accept your favicon. One cause is a robots.txt rule that blocks the icon file or its folder. Other causes are a missing file, a wrong size or a recent change Google hasn't recrawled.

Does robots.txt block favicons?

Yes. Google's favicon crawler, Googlebot-Favicon, obeys robots.txt. If a Disallow rule matches the icon URL, Google won't download it, even though browsers still show it to visitors.

How do I allow my favicon in robots.txt?

Add an Allow line for the exact icon path, such as Allow: /assets/img/favicon.png, or remove the broad Disallow that covers its folder. The more specific rule takes priority for Google.

How can I test if robots.txt is blocking my favicon?

Open Google Search Console, use URL Inspection on the full icon URL and run the live test. It reports whether the URL is blocked by robots.txt. You can also read robots.txt by hand and look for a Disallow rule that is a prefix of the icon path.

How long does it take for Google to show my favicon after fixing robots.txt?

It varies. Google recrawls favicons on its own schedule, so it can take several days to a few weeks. Requesting indexing of your homepage in Search Console may help, but nothing is guaranteed.

Does a blocked favicon hurt my SEO rankings?

Not directly. It affects how your result looks, not where it ranks. A globe icon can make your listing look less trustworthy, which may lower clicks a little.

Does FunnelGuard check if my favicon is blocked by robots.txt?

No. FunnelGuard does not check this yet. It monitors forms, checkouts, tracking and lead delivery, so use Google Search Console URL Inspection to check the favicon.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.