Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Image CDN blocking Googlebot-Image: how to find and fix it

SEO-204Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Googlebot-Image is the Google crawler that fetches pictures for Google Images and for image previews in search. Many sites serve pictures from a separate hostname, such as cdn.example.com or a CDN provider's domain. That hostname has its own settings.

The issue happens when those settings turn Google away. Common causes are a robots.txt file on the CDN host with Disallow: /, hotlink protection that only allows your own pages as referrer, a web application firewall (WAF) or bot rule that returns 403 to crawlers, and signed or expiring URLs that fail when Google fetches them later.

Why it costs you leads or sales

The impact is usually low, but real for sites that depend on visual search: shops, galleries, property, food and travel. If Google cannot fetch an image, it cannot show it in Google Images or use it as a thumbnail next to your result. You lose a source of discovery traffic and some of the visual appeal of your listings.

Where the image path breaks
  1. Page crawledGooglebot reads your HTML and finds image URLs
  2. Image requestGooglebot-Image asks the CDN for the file
  3. CDN rule blocks403, 429 or robots.txt disallow
  4. Image indexedNot stored for Google Images
  5. Image trafficNo visits from image search

The page is crawled fine, but the image request is refused, so the image never reaches Google Images.

How to check if your site has it

Test whether Google can fetch your images
  1. Find the image hostname

    Open a page, right-click an image and copy the image address. Note the hostname, for example cdn.example.com.

  2. Read the robots.txt of that host

    Open https://your-cdn-hostname/robots.txt. A line like Disallow: / under User-agent: * or User-agent: Googlebot-Image blocks your images.

  3. Request the image as Googlebot-Image

    Run the curl command below. A 200 status is good. A 403, 401, 429 or a redirect to a challenge page points to a block. Note that a CDN may check real Google IP addresses, so a spoofed user agent can be treated differently from the real crawler.

  4. Use URL Inspection in Search Console

    Inspect a page that contains the image, run Test live URL, then open View tested page and check the Screenshot and More info tabs for images or resources that could not be loaded.

  5. Check CDN logs

    Filter your CDN or firewall logs for the Googlebot-Image user agent and look for 4xx responses or blocked actions.

Fetch an image with the Googlebot-Image user agentbash
curl -I -A "Googlebot-Image/1.0" https://cdn.example.com/images/product-1.jpg

# Also check the host's robots.txt
curl -s https://cdn.example.com/robots.txt

How to fix it

Fix the cause you found. Never open the CDN to everyone just to let Google in. Allow verified Google crawlers and keep protection for everything else.

Fix by platform
  1. Check the CDN plugin settings

    In your CDN or image optimisation plugin, look for hotlink protection, referrer restrictions or signed URL options and turn them off or allow empty referrers.

  2. Check the physical robots.txt

    If a robots.txt file exists on the CDN host, edit or remove the Disallow rule that covers images. Under Settings > Reading, make sure Discourage search engines is not ticked.

robots.txt that lets Google fetch imagestext
User-agent: Googlebot-Image
Allow: /

User-agent: *
Allow: /

How to confirm it's fixed

Confirmation checklist
  • The curl command returns 200 for an image URL
  • The CDN robots.txt has no Disallow for your image paths
  • URL Inspection live test shows no blocked images or resources
  • CDN logs show 200 responses to Googlebot-Image
  • Search Console Pages report has no new image-related fetch errors
  • Your images begin to appear for a site: search in Google Images after recrawling

How to prevent it happening again

Prevention habits
  • Review CDN firewall and bot rules whenever you change them and re-run the curl test
  • Keep a robots.txt on the CDN host under version control
  • Test one image URL after switching CDN providers or enabling hotlink protection
  • Use verified-bot allow rules, not user-agent strings alone
  • Re-check URL Inspection on key product or landing pages every quarter

How FunnelGuard handles this

FunnelGuard does not check this yet. Checking whether an image CDN blocks Googlebot-Image is a possible future check, not a current feature.

What FunnelGuard does do is run your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule and check each step, tracking hits and test leads. That catches broken funnel steps, but not crawler-specific blocks on your image host.

To watch for this issue today, use the free tools above: the Search Console URL Inspection live test, a periodic curl check with the Googlebot-Image user agent, and a look at your CDN firewall logs. A calendar reminder after any CDN or security change is usually enough.

Questions people ask

Why are my images not showing in Google Images?

Common causes are a robots.txt block, a CDN or firewall refusing Googlebot-Image, missing or low-quality context on the page, or simply not being crawled yet. Test an image URL with URL Inspection and curl first to rule out a block.

Does my CDN block Googlebot-Image?

Fetch an image URL with the Googlebot-Image user agent using curl and read the CDN host's robots.txt. A 403, 429 or Disallow rule suggests a block. Confirm with the URL Inspection live test in Search Console.

How do I allow Googlebot-Image in Cloudflare or another CDN?

Add an exception for verified Google crawlers in your firewall or bot settings and relax hotlink protection for empty referrers. Menu names vary by provider, so check its documentation for verified bots.

Does hotlink protection hurt SEO?

It can. If it rejects requests with no referrer or a non-matching one, Google may fail to fetch your images. Allow empty referrers and your own domains to keep protection without blocking crawlers.

Can a robots.txt on my CDN domain block images from Google?

Yes. Google reads robots.txt per hostname, so a Disallow rule on cdn.example.com blocks images served from it even if your main site allows crawling.

How do I test if Googlebot can load an image?

Use the URL Inspection tool's live test on a page with the image and review the tested page's resources. You can also run curl with the Googlebot-Image user agent, bearing in mind that firewalls may verify real Google IPs.

How long until images return to Google Images after the fix?

It depends on how often Google recrawls your pages and images. Expect days to a few weeks. Requesting indexing for key pages in Search Console can help.

Does FunnelGuard check for images blocked from Googlebot-Image?

No. This is not a current FunnelGuard check, only a possible future one. Use Search Console and a curl test to monitor it.

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.