Skip to content
FunnelGuard

Fix guide by FunnelsGuard

robots.txt blocking images or product feeds: how to fix it

SEO-007Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

robots.txt is a plain text file at the root of your domain. It tells crawlers which paths they may fetch. If a rule disallows the folder where your product images live, or the URL of your product feed, Google's crawlers obey it and skip those files.

Common causes: a blanket Disallow: /wp-content/uploads/, Disallow: /media/, Disallow: /images/, a rule blocking file types like *.jpg$, or a rule that blocks /feeds/ or /*.xml. Another cause is a rule for a specific crawler such as Googlebot-Image left over from an old attempt to stop image hotlinking.

Images served from another host, such as a CDN or cdn.yourshop.com, follow the robots.txt of that host, not your main domain. A clean main file can hide a blocking file on the CDN.

Why it costs you leads or sales

Product images drive clicks in Google Images and in Shopping results. If Google cannot fetch them, listings can lose their image, be disapproved in Merchant Center, or never appear. You lose a source of visitors who are already looking at products.

The page itself can still rank, so traffic looks only slightly lower and the problem goes unnoticed for weeks. That is why the impact is medium rather than severe: you lose a channel, not the whole site.

How a blocked image or feed stops a sale
  1. Product page livePage is indexable and loads fine
  2. Google fetches image or feedrobots.txt Disallow matches the path
  3. Listing in Images or ShoppingNo image, or item disapproved
  4. Click to product pageVisitor never arrives
  5. PurchaseSale not made

The break happens at the crawl step, before anyone sees your product.

Visits from image and Shopping surfacesExample numbers
Visits from image and Shopping surfaces (example)Before block: 420 visits per week; Block live, week 3: 180 visits per week; Block live, week 8: 60 visits per week016132242018060Before blockBlock live, week 3Block live, week 8visits per week

Example: illustrative numbers showing visits before the block and after images stop being crawled.

How to check if your site has it

Find out whether images or feeds are blocked
  1. Open your robots.txt

    Visit yourdomain.com/robots.txt in a browser. Look for Disallow lines that cover image folders (uploads, media, images, assets), image extensions, or feed paths.

  2. Check the image host too

    If images load from a CDN or subdomain, open that host's /robots.txt as well. Each host has its own file.

  3. Test a real image URL

    In Google Search Console, use URL Inspection on a product page, then View crawled page and check the resources. You can also open Settings, then Crawl stats, and look for blocked-by-robots.txt responses. Search Console's robots.txt report shows the file Google last fetched.

  4. Check Merchant Center

    In Merchant Center, open Products, then Diagnostics. Look for issues about images that cannot be fetched or landing pages that cannot be crawled because of robots.txt.

  5. Test a feed URL

    If you fetch a feed from your own domain by URL, check that its path is not covered by a Disallow. A scheduled fetch can fail with a robots.txt error.

Example of rules that cause thistext
User-agent: *
Disallow: /wp-content/uploads/
Disallow: /feeds/
Disallow: /*.jpg$

User-agent: Googlebot-Image
Disallow: /

How to fix it

The goal is to let Google fetch product images and any feed it needs, while still blocking what you really want hidden. Google follows the most specific matching rule, so a targeted Allow can override a wider Disallow.

Fixed robots.txttext
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Allow: /wp-content/uploads/
Allow: /feeds/

User-agent: Googlebot-Image
Allow: /

Sitemap: https://www.example.com/sitemap.xml
Where to change robots.txt on your platform
  1. Find the source of the rules

    If a physical robots.txt file sits in the site root, edit it over SFTP or your host's file manager. If not, WordPress serves a virtual file. SEO plugins such as Yoast SEO (Tools, File editor) or Rank Math (General Settings, Edit robots.txt) let you edit it.

  2. Remove the uploads block

    Delete Disallow: /wp-content/uploads/ or add Allow: /wp-content/uploads/. Also check that Settings, Reading does not have Discourage search engines ticked.

How to confirm it's fixed

Confirmation checks
  • Open /robots.txt on the main domain and any image host and confirm the blocking lines are gone.
  • In Search Console, open the robots.txt report and request a recrawl of the updated file.
  • Run URL Inspection on a product page and check that images are no longer listed as blocked.
  • In Merchant Center, open Diagnostics and see the image and landing page issues clear after the next crawl or feed fetch.
  • Search Google Images for your product name plus site:yourdomain.com and see whether images appear over the following days.

Recovery is not instant. Google needs to recrawl the file and then the images, which can take days to a few weeks.

How to prevent it happening again

Prevention habits
  • Keep robots.txt in version control and review changes in pull requests.
  • Re-check robots.txt after theme changes, migrations, CDN changes and SEO plugin updates.
  • Check every host that serves images or feeds, not only the main domain.
  • Prefer narrow rules over broad folder blocks.
  • Review Merchant Center Diagnostics weekly if you run Shopping.
  • Add a calendar reminder to read the live file after each release.

How FunnelGuard handles this

FunnelGuard does not check this yet. Reading robots.txt rules for image and feed paths is a possible future check, but today it is not part of the product.

What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys, such as lead forms and checkouts, on a schedule and checks each step and the tracking hits sent to platforms like GA4, Google Ads and Meta. If a release breaks a product page or checkout, that is what it is built to find. It will not tell you that Google is blocked from your images.

To watch for this issue yourself, use Search Console's robots.txt report and Crawl stats, Merchant Center Diagnostics, and a regular look at your live robots.txt after each change. A free read-only FunnelGuard website audit is also available if you want a general review of your site.

Questions people ask

Why are my product images not showing in Google Images?

A common cause is a robots.txt rule that blocks the folder or file type holding your images, or a rule aimed at Googlebot-Image. Check your robots.txt and the one on any CDN host. Other causes include noindex headers on images and poor page indexing.

Can robots.txt stop my products appearing in Google Shopping?

Yes. If robots.txt blocks product pages or the images used in your listings, Merchant Center can report that Google cannot crawl them and disapprove items. Allow those paths for Google's crawlers and then request a recrawl.

How do I allow Googlebot-Image in robots.txt?

Add a group such as User-agent: Googlebot-Image followed by Allow: /. Also remove Disallow rules under User-agent: * that cover your image folders. Check the result in Search Console's robots.txt report.

Does the robots.txt on my CDN matter for image indexing?

Yes. Each host has its own robots.txt, so images served from a CDN or subdomain follow that host's file. If your main domain is clean but the image host blocks crawlers, the images can still be missed.

Should I block /wp-content/uploads/ in robots.txt?

Usually not. That folder holds your media library, including product images, so blocking it keeps them out of Google Images and can hurt Shopping listings. Block only specific files you truly want hidden.

How long does it take for images to be indexed after fixing robots.txt?

It varies. Google must recrawl your robots.txt and then fetch the images, which can take from a few days to several weeks. Requesting a recrawl of the file in Search Console helps.

Why does Merchant Center say my image can't be fetched?

The image URL may be blocked by robots.txt, return an error, or need a login. Test the URL in a private browser window and check the robots.txt of the host serving it.

Does FunnelGuard check robots.txt for blocked images?

No, not yet. It is a possible future check. You can watch for it using Search Console, Merchant Center Diagnostics and a manual review of your live robots.txt.

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.