Disallow and Block AI Bots from Accessing your Website

OpenAI Bots (GPTBot, ChatGPT-User): These two bots gather data for training AI models. If you’re concerned about your data being used for AI training, consider blocking them. To block them from accessing your website just add the following lines to disallow the latest OpenAI bots in your robots.txt file:

User-agent: GPTBot
User-agent: ChatGPT-User
Disallow: /

These directives will prevent both OpenAI’s web crawler (GPTBot) and the ChatGPT plugins (ChatGPT-User) from accessing your website.

Here's a sample of one of my site's robots.txt

User-agent: GPTBot
User-agent: ChatGPT-User
User-agent: anthropic-ai
User-agent: psbot
User-agent: TurnitinBot
User-agent: NPBot-1/2.0
User-agent: NPBot
User-agent: CCBot
Disallow: /

User-agent: *
Crawl-Delay: 5
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /readme.html
Disallow: /refer/
Disallow: /wp-content/plugins/
Disallow: /pages/*
Disallow: /entertainment/*
Disallow: /sci-tech/*
Allow: /wp-admin/admin-ajax.php
Allow: /wp-content/uploads/

Search Engine Crawlers (Googlebot, Bingbot, etc.): These bots are crucial for getting your website indexed and appearing in search results. Therefore, it's recommended not to block these bots.

Quick Help: Google Search Console and Bing Webmasters are the two best tools available to monitor, debug, and optimize your site. With these tools, you can easily understand how your site or sites are performing on search engines.