Design library

Real web page examples

Sites with outstanding design, measured and documented. Each entry brings colors with hex codes, typography, spacing and a design.md to copy.

  • 62 designs in 20 categories
  • compact and extended design.md
  • To inspire you and your AI
Explore the library

Free resources

See all 11 resources
Reports and benchmarksData with sourcesPublic figures to decide.
Calculators and assessmentMeasure your numbersCalculate and compare.

robots.txt for AI: What to Allow and What to Block

Por

·

· Actualizado

Ilustración del artículo: robots.txt para IA: qué permitir y qué bloquear (robots.txt para IA)

Short answer

In robots.txt for AI you must distinguish search crawlers, which let you appear in answers, from training crawlers, which use your content to improve models. For a small or mid-sized business looking for customers, the usual choice is to allow the search ones (such as OAI-SearchBot and PerplexityBot) and decide separately about training.

This guide on robots.txt for AI is part of Appear in ChatGPT, Gemini and Perplexity (AEO), where we organize the whole topic into 10 answers that link to each other.

What robots.txt is and why it matters for AI

The robots.txt file lives at the root of your domain (your-domain.com/robots.txt) and tells crawlers which parts of your site they may visit. Serious crawlers check it before entering. With the arrival of AI assistants, that file went from being a technical detail to a business decision: it determines who can read you and for what.

The main agents

Each provider documents its agents separately. The essentials:

  • OAI-SearchBot (OpenAI): to show sites in ChatGPT searches.
  • GPTBot (OpenAI): related to model training.
  • ChatGPT-User: acts at a person’s request. OpenAI indicates that robots.txt may not apply.
  • PerplexityBot: to link sites in Perplexity. It respects robots.txt.
  • Perplexity-User: a person’s request. It generally ignores robots.txt.
  • Google-Extended: controls use in Gemini. According to Google, it does not affect Search.
robots.txt for AI: step-by-step process diagram

An example configuration for a small or mid-sized business

If you want to appear in answers and have no problem with the rest, your file can be very simple: allow everything and add the sitemap line. If you prefer not to allow training, you can add a specific rule for GPTBot without touching OAI-SearchBot. The important thing is not to write a general rule that blocks all agents by accident.

Before publishing changes, check that your site remains accessible to Googlebot: it is the foundation of SEO and of Google’s AI features.

Beyond robots.txt

Robots.txt is a request, not a technical barrier. To truly block or to allow without friction, you also have to check the firewall and the CDN, which can challenge legitimate crawlers. If you use a service like Cloudflare, review its bot rules. If you want to see the effect in how to appear in ChatGPT or in Perplexityapply the changes and wait at least a day before testing.

How to check that it came out right

After editing the file, open it in the browser and read it as a crawler would: top to bottom, without skipping rules. Check that the sitemap is declared, that there is no general “Disallow: /” and that the per-agent rules do not contradict each other. In Search Console you can check whether Google can access your important pages. Note the date of the change: if your visits from assistants vary, you will know when it started.

When blocking makes sense

Blocking makes sense if you publish paid content, material with third-party rights or data you do not want reused. For a commercial website whose goal is to be found, a total block almost always costs you opportunities. Decide calmly and leave the decision in writing so you do not reverse it by accident.

Robots.txt for AI: summary and next step

To put robots.txt for AI into practice, choose a single service page, apply what you saw in this guide and note how it was before. Within a month, compare results and adjust. If you prefer that we do it for you, at Cuva Lab we deliver websites in 48 hours with this technical and content foundation.

Frequently asked questions about robots.txt for AI

Should I block all AI bots?

Only if you have clear reasons. Blocking the search ones reduces your chance of appearing in answers.

How long does a change take to apply?

OpenAI indicates it may take around 24 hours in its search systems. Other providers do not publish fixed timelines.

Does robots.txt protect private content?

No. It is a public request. Private content must be protected with restricted access, not with robots.txt.

Sources and useful reading about robots.txt for AI

Written by

Newsletter

A practical guide in your inbox

Every week, one clear idea to help your website attract clients: SEO, pricing, stores and conversion. No filler, and you can unsubscribe anytime.

Get a website quote

Want us to do it for you?

Tell us about your business and we reply on WhatsApp with a clear proposal and a price in USD.

  • Websites from $349 USD and stores from $549 USD
  • Delivery date confirmed in writing
  • Built for Google and AI assistants

Want us to create your brand?

Complete logo and brand kit for your website, your social media and your documents.