Your business can be invisible to AI answers even when your site works fine for people. A visitor in a browser sees your pages. An AI crawler can still be turned away at several different points. This guide walks through every point, in an order that gives you proof instead of guesses.

Start with one idea that explains most surprises. A robots.txt file states a wish. It does not force anything. A security layer can overrule it. And a few of the fetchers that matter most pay no attention to the file at all, because a real person asked them to fetch a page.

Why a block stays hidden

First, robots.txt files get written once and then forgotten. A broad block added to hide a test site or fight scrapers can quietly cover every AI crawler too.

Second, permission and enforcement live in different places. Your file can welcome a crawler while a security tool blocks that same crawler before it reaches your pages.

Third, some important fetchers ignore the file by design. ChatGPT-User, Perplexity-User, and meta-externalfetcher usually act on a user request. A perfect file tells you nothing about them.

Fourth, token names can fool you. Google-Extended appears in many templates as if it were a crawler. It is not. It is a policy token with no user agent string. It will never show up in your logs. Any log line that claims it is fake.

Check 1: Read your robots.txt file

Open your robots.txt file in a browser, using your own domain in place of the example domain.

code
https://yourdomain.com/robots.txt

If nothing loads, the file does not exist yet. Create it at the root of your site before you do anything else.

Read every group in the file, not just the top. A block that starts with User-agent: * and then says Disallow: / blocks every crawler, including AI crawlers, unless a more specific group overrides it. Look for the AI tokens by name: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, bingbot, and the Meta tokens meta-externalagent, meta-webindexer, meta-externalfetcher, and facebookexternalhit. Groups written for one token should sit before any broad block rules, so they are not shadowed.

Check 2: Look at your server logs

Logs show what really happened. They are worth checking early, because they can save you from chasing a file problem that does not exist.

On a typical server, nginx logs live at a path like the one below, and Apache uses a file called access_log. On a managed host, ask your host where the logs live.

code
grep -i "gptbot\|oai-searchbot\|chatgpt-user\|claudebot\|claude-searchbot\|claude-user" /var/log/nginx/access.log
grep -i "perplexitybot\|perplexity-user\|meta-external\|facebookexternalhit\|bingbot" /var/log/nginx/access.log

Match on the token, not on the full user agent string. Tokens stay stable while version numbers and web addresses in the string change. If a week passes with the file saying allow and the logs show nothing, something upstream is still stopping the crawlers.

Check 3: Test from outside your network with a bot user agent

Your server can serve one version of a page to browsers and a different version to bots. Testing from your own desk browser will not catch that. Test from outside your network, using a user agent string built around the documented token. The token is the part every bot rule keys on.

code
curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; GPTBot/1.4; +https://openai.com/gptbot)" https://yourdomain.com/

curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)" https://yourdomain.com/

curl -s -o /dev/null -w "%{http_code}\n" -A "ClaudeBot" https://yourdomain.com/

Anthropic publishes no official full user agent string, so for ClaudeBot the token alone is the reliable test. Run the same request again without the user agent flag, as a normal browser. If the browser gets a 200 and the bot gets a 403, a challenge page, or a redirect, your server or your edge treats the crawler differently, whatever the file says.

Check 4: Check the edge, not just the file

This is the finding that turns up most often. In Cloudflare, open Security, then Bots, and confirm AI crawlers are not being challenged or blocked. Pay special attention to Bot Fight Mode. In AWS, inspect your WAF bot control setup. The file states what you want. The edge decides what actually happens.

Check 5: Confirm in webmaster tools

Bing Webmaster Tools has a robots.txt tester and a check called Fetch as Bingbot. Use both, since Copilot retrieves from the Bing index. In Google Search Console, use the live test in URL Inspection and look at Crawl Stats to confirm Googlebot reaches your pages.

A bakery that fixed the file and still saw nothing

Picture a bakery in Denver. Its robots.txt held a single rule left over from a staging setup: every user agent blocked from every path. The rule was meant to keep a test site out of Google, and it got copied to the live site. The first check in this guide finds it in seconds.

After the bakery fixes the file, the logs still show nothing. The edge check then reveals Bot Fight Mode challenging every user agent that is not a browser. The file had said allow for a month. The edge had said no the whole time.

What this guide does not do

This guide finds a block. It does not write the allow rules for you. It also does not cover what comes next when nothing is blocked and you still do not show up. At that point the problem is indexing, verification, or how fresh the underlying index is. Those are separate jobs.

Frequently Asked Questions

My robots.txt file allows AI crawlers. Does that prove they can reach me?

No. The file is a declaration. A security tool, a firewall rule, or a bot manager can still stop a crawler before it reaches your site. Server logs are the proof that a crawler actually arrived.

I see no AI crawler visits in my logs. Does that always mean I am blocked?

Not always. It can also mean the crawlers simply have not returned yet. Give it a week with the file saying allow. If there is still nothing after that, treat it as a block somewhere upstream and work through the edge checks.

Why do some fetchers ignore robots.txt?

Because they act for a specific person. When someone asks an assistant to check a page, the fetcher goes to get that page for that person. That kind of fetch is generally not governed by the file in the same way a background crawl is.

What is the fastest check I can do today?

Open your robots.txt file and read every group for a broad block. Then grep a recent log file for the tokens listed above. Those two checks catch most problems in a few minutes.