Skip to content
Nazmul Nikhil
Menu

Indexable Page Blocked From All AI Search Bots (Ahrefs): How to Fix Your robots.txt

Ahrefs flags indexable pages that robots.txt blocks for every AI search bot, so ChatGPT, Claude and Perplexity can't cite them. Here's how to unblock them safely.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Indexable Page Blocked From All AI Search Bots (Ahrefs): How to Fix Your robots.txt
Photo: Resource Database on Unsplash

In short

Ahrefs flags "Indexable page blocked from all AI search bots" when a page Google can index is disallowed in robots.txt for every AI search crawler Ahrefs checks. AI search bots (such as OAI-SearchBot, Claude-SearchBot and PerplexityBot) are separate from AI training bots (such as GPTBot and ClaudeBot). Allow the search bots, and block training bots only if you want to.

Many sites blocked AI bots in 2023 and 2024 to stop model training. Some of those rules also block the bots that power AI search, which means the site can't be cited in ChatGPT, Claude or Perplexity answers.

Search bots versus training bots

Most AI companies run separate crawlers for separate jobs, and each obeys its own robots.txt rules:

Company AI search (citations) Model training User-triggered fetches
OpenAI OAI-SearchBot GPTBot ChatGPT-User
Anthropic Claude-SearchBot ClaudeBot Claude-User
Perplexity PerplexityBot (none listed) Perplexity-User
Google Googlebot (AI Overviews and AI Mode use Search's index) Google-Extended (a robots.txt token, not a crawler)

Blocking training doesn't require blocking search. You can opt out of one and stay visible in the other.

Find the rule that blocks them

Open yoursite.com/robots.txt and look for:

  • User-agent: * followed by Disallow: /, which blocks every bot without its own group

  • Named groups for AI search bots with Disallow: /

  • Blocklists copied from an article or plugin that include search bots

Free SEO audit

Not sure which issues matter on your site?

I'll review your site and send you the fixes that matter most, in plain English.

Get my free audit →

A balanced robots.txt

This example allows AI search bots, blocks two training bots, and leaves everything else open:

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: *
Allow: /

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

Whether to block training bots is a business choice. For a business that wants leads, being cited in AI answers usually matters more.

Where to edit robots.txt

WordPress: Yoast SEO > Tools > File editor, or Rank Math > General Settings > Edit robots.txt. Also check security plugins and your CDN, which can block AI bots outside robots.txt.

Shopify: edit the robots.txt.liquid template in your theme code.

Webflow: Site settings > SEO > robots.txt.

Wix: the Robots.txt Editor in the SEO dashboard's tools.

Custom builds: edit the robots.txt file at the site root, or the route that generates it.

Also check your CDN

Cloudflare and other CDNs offer one-click AI bot blocking that works outside robots.txt. If you've unblocked bots in robots.txt but they still can't reach you, check those settings too.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditBlocked from ai search botsAllow oai-searchbotRobots.txt ai crawlers
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Generative Engine Optimization

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com