Den här artikeln finns för närvarande bara på engelska.

Can't access product images in Merchant Center: fix robots.txt blocking

FeedAwake 4 min läsning

Can't access product images means Google tried to download the images in your product data, and the server's robots.txt file told it not to. The image_link is there, and the image may open fine in your browser. But Googlebot-Image is not allowed to fetch it, so Google can't review it or show it.

Google's Can't access product images guide is direct about the consequence. The products are still available for now, but if robots.txt isn't updated, they "will be disapproved soon".

Why this happens

Robots.txt rules are usually written with search results in mind, not Shopping. A few common ways product images end up blocked:

  • a Disallow rule for the folder where images live, such as /media/ or /wp-content/uploads/, added to keep images out of image search;
  • a rule that blocks every crawler except a short list, where Googlebot-Image isn't on the list;
  • a staging robots.txt with Disallow: / that went live with a deploy and was never reverted;
  • images served from a separate host (a CDN, media.yourshop.com, a platform's asset domain) with its own robots.txt that nobody on the store team looks at.

The last one catches people most often. Robots.txt applies per hostname, so fixing the file on yourshop.com does nothing for images on cdn.yourshop.com.

How to fix it

  1. Copy an image URL from an affected product. Take it from the product in Merchant Center or from your feed, not from the store page: the feed may point at a different size or a different host.
  2. Open robots.txt on that image's host, for example https://cdn.yourshop.com/robots.txt, and find the rule that matches the image path.
  3. Allow Google's crawlers. Google asks you to let both Googlebot (used for landing pages) and Googlebot-Image (used for images) crawl the site. You don't have to throw away the rest of your robots.txt; a rule for the image folder is enough. An illustrative example:
User-agent: Googlebot-Image
Allow: /media/
  1. Check for other blocks while you're there. A firewall or bot-protection rule, a login wall or server throttling can also stop Google from downloading images. Google's image status guide lists these next to robots.txt.
  2. Wait for the next crawl. Once robots.txt allows access, Google says the errors "should disappear within a couple of days".

If you don't control the image host (a platform CDN or an image service), send their support the exact image URL and the robots.txt rule that blocks it. "Google can't see our images" on its own rarely gets a useful answer.

The same block on product pages

Robots.txt can block your product pages too. That case appears as Unable to do quality & policy checks on product pages, and Google's guide for it gives a grace period: products "will continue to show on Google for up to 30 days using your previously approved images" and are disapproved if robots.txt isn't updated by then.

If you see both errors, one change on the main domain may fix both. Still check the image host on its own, because it has its own file.

Find every affected product

In Merchant Center, go to Products → Needs attention, filter by the issue and download the list. Group the affected image URLs by hostname and folder. If they all live under one path, one rule is the cause and one change fixes all of them. If they're spread across hosts, you have more than one robots.txt to fix.

Keep it from coming back

Robots.txt blocks usually come back with a deploy, a CDN migration or an SEO change made without Shopping in mind. Add one question to the checklist for those changes: can Googlebot-Image still fetch a product image? And keep the staging robots.txt out of production builds.

FeedAwake doesn't fetch your product images or check whether Google's crawlers may access them, so it can't spot this before Google does. What it shows is Google's side. A free Merchant Center audit lists the image issues Google reports, how many products each one affects and sample product IDs, so you see the size of the problem in one place. The free feed checker covers the feed itself, such as products with no image_link at all.

Kontrollera ditt produktflöde gratis

Hitta flödesfel innan de kostar dig annonsbudget. Inget konto behövs.

Starta din kostnadsfria provperiod på 14 dagar Gratis Merchant Center-granskning

Fler artiklar