robots.txt & XML Sitemap Technical SEO Guide
The robots.txt file lives at the root of your website and instructs web crawlers—both traditional search engines like Googlebot and AI crawlers like GPTBot or ClaudeBot—which paths they may fetch. Combined with a valid XML Sitemap, it preserves crawl budget on large sites and ensures important pages are discovered quickly.
How to configure robots.txt and sitemap.xml
- Choose your default wildcard rule (User-agent: *) and toggle individual search or AI bots to Allow or Block.
- List private paths like /admin/ or /checkout/ under Disallow, and paste your absolute Sitemap URL.
- Switch to the XML Sitemap tab to generate a clean sitemap.xml template, then click Create llms.txt to optimize for AI search.
Practical SEO tips
- Never block CSS or JavaScript assets needed to render your pages, or Googlebot may misread your mobile layout.
- Remember that robots.txt prevents crawling, not indexing—use a noindex meta tag if a URL must stay out of search results.
- You can allow OAI-SearchBot and PerplexityBot for AI search citations while blocking GPTBot or CCBot from training scrapes.
robots.txt & Sitemap Questions
Does blocking GPTBot affect my Google Search rankings?
No. Googlebot and GPTBot are completely independent crawlers; blocking AI training bots does not impact Google Search.
Does Googlebot follow Crawl-delay?
No, Googlebot ignores Crawl-delay (use Search Console settings instead), while Bingbot and YandexBot respect it.
How many URLs can a single XML sitemap hold?
The Sitemap protocol allows up to 50,000 URLs and 50MB uncompressed per file; larger sites should use a sitemap index.