In 2027 your visitors are not just people and classic search engines. AI crawlers also fetch your pages, either to collect training data or to build direct answers inside tools like ChatGPT, Claude, Perplexity and Gemini. That raises two practical questions for every site owner: should you allow or block these bots in robots.txt, and how do you stay visible in AI answers if that helps your business? This guide answers both with concrete steps, and is honest about what does not matter.

Who are the main AI crawlers?

Each company publishes the user-agent its crawler uses. The important difference is purpose: crawling for training, crawling for search and answers, and fetches made on behalf of a user asking about a specific page.

robots.txt nameOperatorMain purpose
GPTBotOpenAICollects content that may be used to train models
OAI-SearchBotOpenAIIndexes pages for search results inside ChatGPT
ChatGPT-UserOpenAIVisits a page when a user asks for it in a chat
ClaudeBotAnthropicCollects content that may be used to train models
PerplexityBotPerplexityIndexes pages for Perplexity answers
CCBotCommon CrawlOpen web archive used by many research projects and models
Google-ExtendedGoogleNot a separate crawler: a token controlling use of your content for Gemini models
Applebot-ExtendedAppleA token controlling use of your content for training Apple's models

Two points are often misunderstood. First, blocking GPTBot does not block OAI-SearchBot: you can opt out of training and still appear in ChatGPT search, or the other way round. Second, blocking Google-Extended does not affect your visibility or ranking in normal Google Search and does not remove you from AI Overviews, because those are part of Search and governed by Googlebot itself.

Allow or block? A quick decision table

Site typeSensible choiceWhy
Company or local service siteUsually allowBeing named in AI answers can bring customers
Online storeAllow search crawlers, decide on training crawlersYou want your products to appear when people ask
Paid or exclusive contentBlock training crawlers at leastThe content is the product
Ad-funded blog or publisherBusiness decision: visibility vs lost clicksA direct answer may replace the visit
Admin areas or customer dataNever rely on robots.txtProtect them with logins and permissions, not a public file

There is no single right answer. A company that wants to be mentioned when someone asks for "the best maintenance company in Cairo" is in a different position from a publisher who sees copying without clicks as a pure loss.

Writing robots.txt rules for AI crawlers

The file lives at the root of your site (/robots.txt). Each group starts with a User-agent line followed by Allow or Disallow lines. Common patterns:

  • Block training, stay in ChatGPT search: User-agent: GPTBot then Disallow: /, and leave OAI-SearchBot unrestricted.
  • Block several training crawlers: add one group each for GPTBot, ClaudeBot, CCBot, Google-Extended and Applebot-Extended, each with Disallow: /.
  • Protect one section only: User-agent: PerplexityBot then Disallow: /members/, for example, keeping the rest open.
  • Keep your sitemap visible: a Sitemap: https://example.com/sitemap.xml line helps every well-behaved crawler understand your structure.

After editing, open yourdomain.com/robots.txt in a browser, check that it shows exactly what you wrote, and make sure you have not blocked Googlebot or Bingbot by mistake. That is the worst possible error, because it removes you from normal search.

What robots.txt does not do

  • It is a request, not a lock: the protocol (documented in RFC 9309) depends on the crawler choosing to comply. Major companies state that they do, but any script can ignore it or spoof a well-known bot name.
  • It does not remove past data: a block applies to future visits, not to content already collected.
  • It is not a security tool: listing a secret path in robots.txt reveals it to everyone. Sensitive paths need authentication.
  • Crawl-delay is not standard: it is not part of the protocol, Google ignores it, and support among other crawlers varies.

Crawler load on your server, and how to read it in the logs

Some sites notice higher CPU and bandwidth use from crawlers in general. Before you block anything or upgrade your plan, look at the real numbers in your access logs:

  1. On shared hosting: in cPanel, open Raw Access and download the log for your domain.
  2. On a Linux VPS: the log is usually under your web server's path, such as /var/log/nginx/access.log, or the Apache or LiteSpeed path depending on your setup.
  3. Count requests per crawler with something like grep -ciE "gptbot|claudebot|perplexitybot|ccbot" access.log.
  4. Verify identity: the user-agent string can be faked. OpenAI publishes IP ranges for its crawlers, and Google's crawlers can be verified with a reverse DNS lookup. A request claiming a famous name from an unverified address is probably not that bot.
  5. If the load comes from fake or aggressive bots, the fix is a firewall block or rate limiting, not robots.txt.

If crawlers turn out not to be the cause, slowness usually comes from the site itself or the plan's resources; check what drives hosting speed before deciding. On larger sites, page caching such as LiteSpeed provides takes repeated requests off the database, whether they come from people or bots.

Being visible in AI answers (GEO and AEO) in 2027

GEO (generative engine optimization) and AEO (answer engine optimization) describe roughly the same goal: getting your site cited when an AI tool answers a question in your field. There is no guaranteed formula, but these practices are sensible and also help classic search:

  • Allow the search crawlers you care about: if you block OAI-SearchBot or PerplexityBot, do not expect to appear in those tools.
  • Write direct answers: a clear first sentence under each heading, then the details. Real FAQs work well here.
  • Structured data (Schema.org): add JSON-LD for your organization, products, articles and FAQs where they genuinely apply. It helps engines understand the page but guarantees no placement in any answer.
  • Fast pages with real HTML text: content that only appears after heavy JavaScript runs may not be read by every crawler.
  • Consistent facts: your company name, address and prices should match on every page so tools do not repeat outdated information.

What about llms.txt?

llms.txt is a community proposal for a Markdown file at your site root that summarises your key pages in a form that is easy for language models to read. It is not an official standard, and support from the major AI engines is unclear. It is cheap to add, so if you have technical documentation or a large product site there is no harm in it, but do not expect results from it, and do not treat it as a replacement for robots.txt or good content.

A 30-minute action list

  1. Decide your goal: visibility in answers, protecting content, or both (allow search crawlers, block training crawlers).
  2. Open your current robots.txt and save a copy before editing.
  3. Add rules for each crawler by name, and confirm Googlebot and Bingbot are not blocked.
  4. Review a week of access logs and compare crawler requests with real visits.
  5. Add basic structured data and validate it with Google's Rich Results Test.
  6. Repeat the review every few months; crawler names and company policies change.

Frequently asked questions

Will blocking AI crawlers hurt my Google ranking?

Blocking GPTBot, ClaudeBot or Google-Extended does not affect normal Google Search. The real risk is blocking Googlebot itself by mistake.

Do I need a VPS to manage crawlers?

No. Editing robots.txt and reading logs both work on shared hosting through cPanel. A VPS helps when you need custom firewall rules or full control of the web server. If your own site offers AI features, read the AI hosting 2027 guide.

Need help choosing the right plan?

Message EngHosting with your website type, expected traffic and budget, and the team will recommend a suitable option.

Ask on WhatsApp