How does robots.txt control AI shopping agent access?
By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
Check your own store free. AgentReady fetches your catalog, structured data, crawler rules and policies, then shows — with evidence — what AI shopping agents can and cannot read.
The short answer
It is the door policy agents read before knocking. AgentReady fetches your robots.txt and checks it for blanket blocks on the five agent crawlers it tracks — GPTBot, ClaudeBot, PerplexityBot, Google-Extended and CCBot: no blanket block passes the check (8 points); a block on any of them fails it, with the robots text quoted as evidence. One inherited 'Disallow: /' under the wrong user-agent line can close your store to the entire agent channel while leaving human traffic untouched.
What is robots.txt?
robots.txt is a plain-text file at a site's root that states, per user agent, which paths crawlers may fetch. A block naming a user agent (or the wildcard *) with 'Disallow: /' forbids that crawler the whole site. Shopping agents that honour robots.txt — GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot and others — obey it before fetching anything else.
How the scanner reads your robots.txt
The parser is literal, because crawlers are literal. It reads the file line by line, tracking which user agent the current block belongs to — a block starts at a User-agent line and gathers the Disallow rules under it. A crawler counts as blocked when a block naming it exactly, or the wildcard block (*), contains a full-site Disallow: /. Partial disallows (an admin path, a cart path) do not fail the check: the scanner is grading whether agents may read the store, not whether every path is open, and its evidence quotes the file's opening so you can see the exact text being judged.
That literalism cuts both ways, and stores should exploit it knowingly. A wildcard block with Disallow: / — often inherited from a staging template or a privacy boilerplate — blocks every agent on the list at once, however the store feels about each individually. Conversely, a deliberate, named policy per agent is fully expressible: welcome the shopping agents on the public store, govern the rest as you see fit. The file rewards precision and punishes inheritance, which is the profile of most infrastructure that matters and nobody owns.
Permission is the first of two access gates
Robots permission decides whether a well-behaved agent attempts your store at all: agents that honour the file do not fetch what it forbids, and the refusal leaves no trace in your logs — a blocked crawler does not knock. That silence is what makes robots errors so durable: the store's traffic simply lacks a population, and lacking is not an event anyone dashboards. The second gate is delivery — whether the serving stack (firewall, CDN, host) actually serves the fetch the policy permitted, which the truth check's agent-crawler surface grades separately. Stores fail at either gate independently; readiness requires both aligned: policy welcomes, delivery serves.
Alignment has a failure shape worth memorising because it recurs across this whole series: the stated position and the enforced position drift apart whenever different layers own them. robots.txt usually belongs to an SEO tool or a developer's one-time setup; enforcement belongs to security tooling installed later by someone solving an abuse problem, who reasonably never thought about shopping agents. Neither owner is wrong. The store is closed anyway. A quarterly pairing audit — file read beside an agent-UA fetch — costs ten minutes and is the only way the two gates stay one door.
What to allow, what to keep closed
The readiness position is narrow and defensible: agent crawlers should be able to read the public store — product pages, category pages, policy pages, the sitemap, the catalog API, the well-known descriptor files — because those surfaces exist to be read by the customer's delegates. Checkout, account, admin and internal search paths can stay disallowed or challenged on their own merits; the scan's check is specifically about blanket blocks, and a store that disallows GPTBot from /checkout alone does not fail it. Precision is the policy: name the agents, name the public paths as allowed (or simply unblocked), keep transactional paths governed by the stronger machinery of authentication and bot management rather than by a text file's blunt instrument.
There is also a strategic honesty to maintain in the file: do not welcome agents in robots.txt that your commercial intent is to refuse at delivery — the contradiction wastes their crawl budget and, discovered, reads as bad faith. State the policy you will actually serve. Agents allocate attention across millions of stores; the ones whose stated and served policies match are the ones whose data gets trusted at face value, which is the entire game this guide series is about.
The staging-template inheritance bug
The commonest way stores block agents is by accident of birth. Development and staging templates ship with a full-site Disallow (correctly — staging should not be crawled), and the file rides along to production inside a theme, a migration package or a 'go-live' copy that nobody diffs against the crawl policy the business wants. Variants: a privacy-hardening plugin writes a conservative robots.txt; a well-meaning developer adds a wildcard block to stop 'scrapers' during an abuse episode and the block outlives the episode by years; a host's default file for new sites forbids everything until configured, and nobody configures it.
Because the owner's own browsing never consults robots.txt, the bug is invisible from every chair inside the business. It is visible in exactly two places: the file itself, read with a crawler's literalism, and the scan's agent-access evidence, which quotes it. If your scan fails this check, do not start by debating agent policy — start by asking when the file was last deliberately written. The answer usually explains the content, and the fix (a deliberate rewrite, per-agent, path-precise) takes less time than the archaeology did.
Per-agent thinking: not all crawlers are the same guest
The five names in the scan's list are the population that matters for shopping: GPTBot (OpenAI's crawler), ClaudeBot (Anthropic's), PerplexityBot, Google-Extended (Google's AI-training and agent signal token) and CCBot — with Applebot-Extended in the same family of considerations. A store's policy can legitimately differ per agent — welcome the shopping assistants your customers use, take a separate, deliberate position on training crawlers — and robots.txt expresses per-agent policy natively, one block each. What it cannot express is indifference: silence in the file means allowed-by-default for anything not named under a restrictive wildcard, so the file's real content is always a decision, including the decision nobody made.
The companion guides take two of these populations in turn — the assistant crawlers (GPTBot, ClaudeBot, PerplexityBot) whose business is fetching for a user, and the signal tokens (Google-Extended, CCBot) whose meaning is subtler. Read them before rewriting the file, because the rewrite should be a policy, not a paste: which agents, which paths, stated once, owned by someone, and verified by an agent-UA fetch rather than by hope.
Verifying the door from the street
Verification has three legs, matching the three ways the door can be shut. Read the file: fetch /robots.txt and parse it as the scanner does — per-agent blocks, blanket disallows — against the list of agents you intend to welcome. Test delivery: fetch a product page and the sitemap with an agent user agent (GPTBot is the truth check's choice) and confirm product data returns. Then run the free scan and read the agent-access row's evidence, which quotes your file's text back at you — owners are regularly surprised by their own file, and surprise is the audit working.
Put the file under change control afterwards: it is small, public and load-bearing, the exact profile of file that should require a deliberate edit and a post-edit verification. On Pro and Agency, scheduled re-scans re-read it on every run, so a future inheritance — a migration that restores the staging file — flips the check in a diff within the scan cycle rather than at the next quarterly audit. A door this cheap to watch should never be found closed by a customer.
robots.txt check: five things to verify
Read your file the way the scanner's parser does — per-agent blocks, looking for the blanket disallow:
- Fetch /robots.txt and confirm no block naming GPTBot, ClaudeBot, PerplexityBot, Google-Extended or CCBot (or the wildcard *) carries 'Disallow: /'.
- Confirm public surfaces stay readable for agents: product and policy pages, the sitemap, the Store API and the /.well-known/ files.
- Keep transactional paths (checkout, account, admin) governed by authentication and bot management — not by blanket crawler blocks.
- Verify delivery separately from permission: fetch a product page with a GPTBot user agent and confirm the product's data returns.
- Put robots.txt under change control and re-run the free scan after migrations or hardening changes — staging files love to inherit production.
Worked example: the staging file that moved to production
A fictional lighting store in Belize, Lumen & Co., relaunches on a fresh theme in March. Traffic from human shoppers is healthy; the owner's first AgentReady scan nevertheless fails agent access outright, evidence quoting a two-line file: a wildcard block with a full-site Disallow. The theme's staging robots.txt — correct for the development site it was built for — had shipped as the production file, telling every agent on the tracked list that the entire store is forbidden.
No crawler had knocked, so no log anywhere recorded a loss; the store simply did not exist for agent-referred shoppers for six weeks. The owner writes a deliberate file — agent crawlers unblocked on the public store, admin and checkout paths disallowed as before — verifies with a GPTBot fetch and a re-scan (agent access passes for its 8 points), and adds 'robots.txt diff' to the relaunch checklist. The postmortem's sentence is the one this guide would choose: the file was never wrong about the staging site; it was wrong about which site it was describing.
Frequently asked questions
How does AgentReady decide an agent is blocked?
It parses robots.txt into per-agent blocks and checks each tracked crawler (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot): a block naming the crawler — or the wildcard * block — containing 'Disallow: /' counts as blocked. Any tracked crawler blocked fails the check (0 of 8 points); partial path disallows do not.
If I disallow agents from checkout only, do I fail?
No. The check grades blanket blocks on the store, not path-level governance. Checkout, account and admin paths can stay disallowed or protected by stronger machinery; the public store — products, policies, sitemap, catalog, descriptors — is what agents must be able to read.
Robots allows agents, but agents still can't read us. Why?
The second gate: delivery. Firewalls, CDN bot products or host security may refuse the agent's fetch that robots.txt permitted. Verify with an agent-UA fetch — the truth check's GPTBot surface does exactly this — and reconcile policy with enforcement.
Where do blanket blocks usually come from?
Inheritance: staging templates that rightly forbid everything, shipped to production inside a theme or migration; conservative files written by hardening plugins; abuse-episode blocks that outlive the episode. If your scan fails this check, ask when the file was last deliberately written — the answer usually explains it.
Should my policy differ per agent?
It can, legitimately: welcome the shopping-assistant crawlers your customers use, and take a separate deliberate position on training-signal tokens like Google-Extended and CCBot. robots.txt expresses per-agent blocks natively. What matters is that the file is a written policy with an owner — verified by an agent fetch — rather than an inheritance.
AgentReady is built by Ingenious AI. Every verdict in an AgentReady scan traces to values actually fetched from the store — no live AI-agent queries are run or claimed.