Robots.txt guide for search and ai crawlers

SEOGami

Regular Member
Jr. VIP
Joined
Feb 28, 2024
Messages
244
Reaction score
174
Robots.txt is still super relevant even with AI crawlers in the mix. I just checked out this new guide that covers best practices for managing access to your site with both search engines and AI tools.

https://www.searchenginejournal.com...-guide-best-practices-for-search-ai-crawlers/

It starts with the basics of what robots.txt does and the key directives like User-agent, Disallow, Allow, and Sitemap. Then it dives into the order of precedence for conflicting rules, which is important if you're dealing with specific bots like Googlebot.

One big tip is using it to block unnecessary pages that waste crawl budget, such as internal search results or faceted navigation URLs. For example, on WordPress sites, blocking ?s= parameters stops infinite crawling of non-existent pages.

They also mention Google's reminder about action URLs like add to cart that can lead to duplicate content and resource waste. You can see the official take from Google on their crawlers page here Google's robots.txt guide which this SEJ article seems to expand on.

For large sites, this helps focus your crawl budget on high-value content while keeping things sustainable. Any of you updating your robots.txt rules to account for AI crawlers? Or just sticking with the basics for Googlebot?
 
The part most people get wrong is blocking every AI bot in one go. GPTBot is for training, but OAI-SearchBot and ChatGPT-User are what get you cited in ChatGPT answers, same idea with PerplexityBot.

block the training ones if you want, but keep the search ones open or you just drop out of AI answers.
 
Adding one distinction that gets blurred a lot: robots.txt and noindex are not interchangeable. Blocking a URL in robots.txt keeps it out of the crawl but not out of the index, because the crawler never fetches the page to see the noindex.

We retired two language folders on a multilingual site by noindexing them and removing them from the sitemap index in the same week. Indexed count fell cleanly over about six weeks and the core pages held.

So for locale or near-duplicate folders, noindex plus canonical. Keep robots.txt for crawl traps like internal search and facet parameters.
 
worth knowing that blocking Google-Extended doesnt keep you out of ai overviews, those use regular googlebot. it only covers gemini training, so people blocking it to 'hide from ai' are usually surprised
 
Back
Top