AI assistants can’t cite a site they can’t read

AI answers are built from what assistants can retrieve. Most of what decides that is engineering: crawl access, HTML, structured data. What to check, and how to measure it.

When a buyer asks an AI assistant who to hire, the assistant usually searches first and answers second. The answer is assembled from whatever it could retrieve. If your site wasn’t retrieved, someone else’s description of you was.

That makes AI visibility mostly an engineering problem. Most of what decides it sits in robots rules, firewall settings, rendering and markup, not in the copy.

How an assistant builds an answer

One question becomes several searches

Google calls it query fan-out: its AI search takes one question, breaks it into several related searches, and combines the results. A question about lighting for food processing lines becomes searches for washdown-rated fixtures, food-safety certifications and supplier reviews. Other assistants work along the same lines.

A page that answers only the headline question is retrieved for one search out of five.

Retrieval decides what gets cited

The model can only cite what was retrieved, and it can only retrieve what was crawled and parsed. Everything below is about making sure your own pages are in that set.

One 2025 survey of B2B buyers found that generative AI had overtaken search for a quarter of them. Whether or not that share holds, the answers are being read, and they are built from sources you can influence.

What an audit found

This year I audited the website of a national industrial manufacturer. It scored 33 out of 100. None of the main problems was about content:

  • The site told search engines to stay away. WordPress’s “Discourage search engines” setting had been left on for months. Estimated search traffic had fallen 47%.
  • The firewall blocked AI crawlers. A JavaScript challenge in front of the site stopped any client that doesn’t run JavaScript, which includes the major AI crawlers. Common Crawl, a public archive many AI systems draw on, had captured none of the main site’s pages in nearly a year.
  • Other sites spoke for the company. With its own pages unreadable, AI answers about it came from LinkedIn, a Bloomberg profile and distributors’ sites. A secondary blog the company ran outranked its main site by more than two to one.

Each of those is a configuration change. Together they had made a well-established company close to invisible.

What an engineer controls

1. Crawl access, for each bot that matters

AI companies run different bots for different jobs. Some collect training data; others fetch pages to answer a question in real time. They can be allowed or refused separately:

# robots.txt
# Answer-time and search crawlers: allowed.
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: PerplexityBot
User-agent: Claude-SearchBot
User-agent: Claude-User
Allow: /

# Training crawlers: a business decision, made on purpose.
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /

Sitemap: https://example.com/sitemap.xml

Whether to allow training is a decision for the business. Blocking it by accident, or blocking answer-time crawlers with it, is the mistake.

robots.txt is only one layer. A CDN or firewall can refuse a bot that robots.txt allows, and that is exactly what happened in the audit above.

warning

Bot protection that issues JavaScript challenges blocks every crawler that doesn’t run JavaScript. Check its rules for the bots you have decided to allow, and test from outside your network after every change to them.

2. Content in the HTML

An analysis of AI crawler traffic by Vercel and MERJ found that the major AI crawlers fetch JavaScript files but don’t run them. Google is the exception, because its systems render pages. A page whose text is inserted by JavaScript is, to most AI crawlers, an empty page.

Both checks fit in a few lines:

# What does a crawler that doesn't run JavaScript receive?
url="https://example.com/services/"
phrase="washdown-rated"

for agent in GPTBot OAI-SearchBot ClaudeBot PerplexityBot; do
  body=$(curl -s -A "Mozilla/5.0 (compatible; $agent)" -w '\n%{http_code}' "$url")
  code=$(printf '%s' "$body" | tail -n 1)
  found=$(printf '%s' "$body" | grep -c "$phrase")
  echo "$agent  HTTP $code  phrase found: $found"
done

Anything other than HTTP 200 with the phrase found is a problem to explain. This tests the user-agent rules only: real crawlers come from published IP ranges, and some firewalls treat a spoofed user agent differently. Server logs are the final word.

3. Structured data that states facts

JSON-LD tells a machine, without guessing, who the organisation is, what it offers and how to reach it: an Organization or Person, each Service, an FAQPage where there really is one. On this site it is generated from the same data the pages show, so the two can’t disagree.

It only helps if the facts agree everywhere. A phone number that differs between the site, the business listing and three directories gives a model three answers to choose from.

4. Pages that answer the follow-up questions

Fan-out rewards depth. One page per service, explaining who it is for, how it works, what it costs and what can go wrong, is retrieved for far more of the related searches than a list of service names.

What matters less than claimed

llms.txt is a proposed file that summarises a site for language models. Google has said its search doesn’t use it, and no major assistant has committed to reading it. It does no harm; it is not where the problem usually is.

Any tactic that promises to “rank in ChatGPT” without touching the four things above is selling the easy part.

How to measure it

AI answers vary between runs and change week to week, so measurement is about trends, not single results:

  • Ask the questions your buyers ask, in each assistant, on a fixed schedule. Record the answer and the sources it cites.
  • Check the public archive. Common Crawl’s index shows whether your pages were captured:
api=$(curl -s https://index.commoncrawl.org/collinfo.json \
  | python3 -c 'import json, sys; print(json.load(sys.stdin)[0]["cdx-api"])')

curl -s "$api?url=example.com/*&output=json" | wc -l
  • Read your server logs for the AI bots you allow. A bot that never appears, or always gets a 403, explains a lot.

Where to start

The first step is an audit: crawl access for each bot, what the HTML contains without JavaScript, structured data, and what assistants currently say about you. The details are on the Services page.