ConceptUpdated: 2026-10-17
What is robots.txt?
robots.txt is a plain-text file in a site's root that tells search engine and AI bots which paths they may crawl.
Open this screen in the panelrobots.txt is a text file published at https://site.com/robots.txt. User-agent lines say which bot a rule applies to, and Disallow and Allow lines say which paths may or may not be crawled. A Sitemap: line can point bots to your sitemap.
Why it matters
robots.txt controls crawling, not indexing. By keeping bots away from low-value paths like admin areas, carts or endless filter combinations, it steers crawl budget toward important pages. One wrong line (for example Disallow: /) can stop the whole site from being crawled. Access for AI bots (GPTBot, ClaudeBot, PerplexityBot and others) is also largely managed through this file.
Where you see it in SEOAsist
- The Technical Audit crawl respects robots.txt and skips blocked paths. It also reads the file's
Sitemap:lines to discover pages. If expected pages are missing from a crawl, see Crawl problems. - Open a site on the Sites page and switch to the AI access tab: the live robots.txt is read, the permission status of AI crawlers is shown, and the robots.txt AI policy card generates a block to append to your existing file.
- SEO Analysis raises a finding when robots.txt blocks AI bots.
Example
User-agent: *
Disallow: /cart/
Disallow: /search?
User-agent: GPTBot
Allow: /
Sitemap: https://site.com/sitemap.xml
Common mistakes
- Using robots.txt to remove a page from the index; a blocked page can still be indexed through links. Use noindex for that.
- Blocking CSS and JavaScript files, so Google can't render the page properly.
- Carrying a staging
Disallow: /into production.
Related articles
- Crawl won't start, gets stuck or finds 0 pagesIf a crawl doesn't start, stays queued or finds almost no pages, check robots.txt, redirects, your quota and bot protection, then crawl again.
- What are noindex and the robots meta tag?noindex is a directive, given in the robots meta tag or an HTTP header, that tells search engines not to include a page in their index.
- What are AI crawlers (bots)?AI crawlers are bots AI companies send to websites for model training, AI search, or reading a page on a user's request.
Was this article helpful?
Didn't find what you need?
Describe the problem and our team will reply by email.