Skip to content
ViAudit

Glossary

What Is robots.txt?

robots.txt is a plain-text file at the root of a site that tells crawlers which paths they may or may not request, using rules grouped by user agent.

In practice

robots.txt controls crawling, not indexing: a disallowed URL can still be indexed if other pages link to it. It is also where you allow or block AI crawlers such as GPTBot, ClaudeBot and PerplexityBot.

Why does robots.txt matter?

A single wrong rule can block search engines or AI crawlers from whole sections of your site, while a well-maintained file keeps crawlers focused on public content.

Example

A staging rule, Disallow: /, accidentally ships to production and stops all crawling until it is removed.

How to check and improve it

  • Open yoursite.com/robots.txt and read every rule.
  • Make sure important sections aren’t disallowed.
  • Decide deliberately whether to allow AI crawlers such as GPTBot and ClaudeBot.
  • Reference your XML sitemap in the file.

Related terms

Grow organic demand without guesswork

Start with a free audit of your site, or talk to us about a managed growth program built on ViAudit.