While investigating a performance problem on a client’s site, I looked at the server logs and saw an interesting picture: alongside Googlebot and Bingbot, names like GPTBot, ClaudeBot, PerplexityBot and Applebot were also visiting the site regularly. My client asked what these bots were, whether they were harming the site and whether they should be blocked. These questions are now on the mind of almost every site owner.
In this article I will explain what AI bots are, their types, how to manage them with robots.txt and which decision makes more sense for your business.
What Are AI Bots?
AI bots are automated programs used by AI companies to crawl web pages. Like classic search engine bots, they visit pages, read the content and store it. However, they use that content for different purposes. Understanding these purposes is crucial for making the right decision.
The Three Types of AI Bots
AI companies’ bots generally work for three different purposes, and the big companies usually use separate bot names for these purposes:
1. Training Bots
These bots collect web content to be used in training AI models. OpenAI’s GPTBot and Anthropic’s ClaudeBot, for example, fall into this category. Common Crawl’s CCBot is also used in the training of many models, because it publishes the data it collects as an open dataset. Blocking these bots limits the use of your content in future model training.
2. Search and Indexing Bots
These bots index content so that AI-powered search features can cite sources when answering user questions. OpenAI’s OAI-SearchBot and PerplexityBot are examples of this type. Blocking these bots reduces the chance of your site being cited as a source in the relevant AI searches.
3. User-Triggered Visits
These are the agents used when a user tells an AI assistant to read a specific page, or when the assistant visits a page on the fly while producing an answer. They appear under names like ChatGPT-User and Claude-User. Because these visits happen at a user’s direct request, some companies can treat them differently from classic crawler rules.
Note: Bot names and behaviors are updated by the companies from time to time. Before making a decision, I recommend checking the company’s current documentation.
Google-Extended Is a Special Case
Google-Extended is not a separate crawler but a control token. When you block Google-Extended in robots.txt, you limit the use of your content in training Gemini models and in grounding some AI features. However, this does not affect your visibility in Google Search or the AI Overviews summaries, because those rely on normal Googlebot crawling. This distinction is often confused and leads to wrong expectations.
Similarly, Apple’s Applebot-Extended token lets you control whether your content may be used in training Apple’s AI models.
Should You Block or Allow?
There is no single right answer to this question; it depends on your business model and priorities. To make the decision easier, let’s think in terms of three different profiles.
Profile 1: Businesses That Sell Services or Products
If you are a corporate company, a local service provider or an e-commerce site, being visible is most likely your most important goal. Your potential customers increasingly make decisions by consulting AI assistants. In this case, I recommend that you at least allow search and user-triggered bots. As for training bots, the decision is up to you; however, having your brand and services included in the models’ general knowledge can also be seen as an advantage in the long run.
Profile 2: Sites Where the Content Itself Is the Product
The situation is different for news sites, paid content platforms, organizations that publish original research, and publishers who earn revenue directly from content. If your content is used in model training without your permission and without compensation, this can directly affect your business model. Such sites generally block training bots and take a more selective approach to search bots.
Profile 3: Sites Hosting Sensitive or Restricted Content
Member areas, private documents or sections containing personal data should not be publicly accessible in the first place. You need to protect these sections with login and authorization, not with robots.txt. robots.txt is not a security tool; it is only a request to bots that follow the rules.
robots.txt Examples
Below I share sample robots.txt rules for different scenarios. Before copying them directly, make sure you merge them with your site’s existing rules.
Allowing all AI bots (the default situation): You do not need to add any rule. If there is no block in robots.txt, bots can crawl the site.
Blocking training bots and allowing search bots:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
Closing a specific folder to all bots:
User-agent: *
Disallow: /ozel-klasor/
How to Edit robots.txt in WordPress
By default, WordPress creates a virtual robots.txt file. The easiest way to edit it is through your SEO plugin. In All in One SEO, you can add and remove rules through the robots.txt editor in the tools section. If there is a physical robots.txt file in your server’s root directory, that file is served instead of the virtual file created by the plugin; in that case you need to make the edits directly in the file.
After making changes, open yourdomain.com/robots.txt in your browser to check that the rules are published correctly. The robots.txt report in Search Console also lets you see how Google reads your file.
Beware of Hidden Blocks
The problem I run into most often in the field is site owners blocking AI bots without realizing it. Even if robots.txt is clean, the following layers can block bots:
- Security plugins: Some security plugins automatically block bots they do not recognize or visitors that make requests at a high frequency.
- CDN and firewall settings: Services like Cloudflare offer one-click options to block AI bots, and on some accounts these options may be switched on by default.
- Hosting provider rules: Some hosting providers may block certain bots at the server level to reduce server load.
If you want to be visible, you need to check all of these layers. Looking at which response code is returned to AI bots’ requests in your server logs is the most reliable way to check.
Is Bot Traffic Straining Your Server?
On some small hosting plans, heavy bot traffic can cause performance problems. In that case, instead of blocking all bots, I recommend first strengthening your caching setup. A well-configured page cache makes sure the pages served to bots are delivered quickly without straining the database. If the problem persists, applying rate limiting to specific bots can be a more balanced solution than blocking them entirely.
How Do You Recognize AI Bots in Your Logs?
To see which AI bots are visiting your site, you need to look at the server access logs. You can reach these files in the “raw access logs” or “access log” section of your hosting panel. In the logs, each request comes with user-agent information; terms like GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot and CCBot appear in this field. Also pay attention to the response codes: a 200 code means the request was served successfully, while 403 means it was blocked.
There is an important warning here: user-agent information can easily be faked. Some malicious bots can present themselves as a well-known AI bot. The big companies generally publish the IP ranges their bots use; if you see suspiciously heavy traffic, verifying the IP is the most reliable way to tell a genuine bot from an imitator. Services like Cloudflare can also flag verified bots separately.
Document Your Decision and Review It Regularly
Write down somewhere which bots you allow and which you block, together with the reasoning. The AI field is changing very fast; new bots appear, and the names and purposes of existing bots are updated. Reviewing your robots.txt rules and security settings every six months makes sure your decisions are still aligned with your business goals.
Frequently Asked Questions
If I block AI bots, will my Google ranking drop?
Blocking bots like GPTBot and ClaudeBot does not affect your Google ranking. Blocking Google-Extended also does not affect your Google Search visibility. However, if you block Googlebot, you remove your site from search results entirely; these two must not be confused.
Do all AI companies follow robots.txt rules?
Large, well-known companies generally state that they will follow robots.txt rules. However, robots.txt is not a legal obligation but a protocol. Against bots that do not follow the rules, you may need to take measures at the server or firewall level.
What happens if the content I block was already used for training?
robots.txt rules do not work retroactively. Blocking only affects crawls that happen after you add the rule.
Conclusion
AI bots are the internet’s new visitors, and they have become too important to ignore. For a business that sells services or products, allowing at least the search-oriented bots and clearing out hidden blocks is the first step toward AI visibility. If you would like to review your site’s robots.txt, security and CDN settings together, you can reach me through my contact page.