{"id":390040,"date":"2026-10-25T14:36:22","date_gmt":"2026-10-25T14:36:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/botgate-ai-crawler-control\/"},"modified":"2026-11-15T14:23:45","modified_gmt":"2026-11-15T14:23:45","slug":"anilsuwal-botgate","status":"publish","type":"plugin","link":"https:\/\/sq.wordpress.org\/plugins\/anilsuwal-botgate\/","author":23429301,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"BotGate \u2013 AI Crawler Control","header_author":"Anil Suwal","header_description":"Control which AI bots can read your content through robots.txt rules, and publish an llms.txt file for AI search tools.","last_updated":"2026-11-15 14:23:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":359,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"anilsuwal16","date":"2026-10-25 14:36:02","revision":3764764},"1.0.1":{"tag":"1.0.1","author":"anilsuwal16","date":"2026-10-28 03:27:39","revision":3769832},"1.1.0":{"tag":"1.1.0","author":"anilsuwal16","date":"2026-11-15 14:23:45","revision":3803377}},"upgrade_notice":{"1.1.0":"<p>Adds a setup wizard, bot filters, quick folder rules, a live robots.txt check, noai tags, ai.txt, llms.txt section order and per-language files, a change history, and a REST API.<\/p>","1.0.2":"<p>Adds your own bots, folder rules, AI usage signals (Content Signals and TDMRep), a URL tester and WP-CLI commands.<\/p>","1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3764873,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3764873,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3764873,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3764873,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3764873,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner.svg":{"filename":"banner.svg","revision":3764873,"resolution":false,"location":"assets","locale":false}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3764879,"resolution":"1","location":"assets","locale":"","width":1312,"height":1350},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3764879,"resolution":"2","location":"assets","locale":"","width":1312,"height":1381},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3764879,"resolution":"3","location":"assets","locale":"","width":1312,"height":1473},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3764879,"resolution":"4","location":"assets","locale":"","width":1312,"height":427},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3764879,"resolution":"5","location":"assets","locale":"","width":780,"height":4798}},"screenshots":{"1":"AI Bots screen with presets, the crawler table and the robots.txt preview.","2":"Changing a single bot switches to custom rules and updates the preview.","3":"llms.txt screen with content selection and the live preview.","4":"Settings screen.","5":"The AI Bots screen on a phone."}},"plugin_section":[262246],"plugin_tags":[2353,9837,247966,244604,12753],"plugin_category":[],"plugin_contributors":[267433],"plugin_business_model":[],"class_list":["post-390040","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-ai","plugin_tags-crawler","plugin_tags-gptbot","plugin_tags-llms-txt","plugin_tags-robots-txt","plugin_contributors-anilsuwal16","plugin_committers-anilsuwal16"],"banners":{"banner":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/banner-772x250.png?rev=3764873","banner_2x":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/banner-1544x500.png?rev=3764873","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/icon.svg?rev=3764873","icon":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/icon.svg?rev=3764873","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/screenshot-1.png?rev=3764879","caption":"AI Bots screen with presets, the crawler table and the robots.txt preview."},{"src":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/screenshot-2.png?rev=3764879","caption":"Changing a single bot switches to custom rules and updates the preview."},{"src":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/screenshot-3.png?rev=3764879","caption":"llms.txt screen with content selection and the live preview."},{"src":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/screenshot-4.png?rev=3764879","caption":"Settings screen."},{"src":"https:\/\/ps.w.org\/anilsuwal-botgate\/assets\/screenshot-5.png?rev=3764879","caption":"The AI Bots screen on a phone."}],"raw_content":"<!--section=description-->\n<p>AI companies send crawlers to read websites, some to train models and some to answer questions in AI search. BotGate lets you decide which of them may read your site, from one screen under <strong>Settings \u2192 BotGate<\/strong>.<\/p>\n\n<p><strong>AI bot control<\/strong><\/p>\n\n<ul>\n<li>A table of known AI crawlers: name, company, purpose (AI training, AI search or user request) and an Allow \/ Block switch, with a link to each company's page about its bot.<\/li>\n<li>Search the table or filter it by company, purpose or access, then block or allow every bot shown in one click.<\/li>\n<li>Three one-click presets: <strong>Block training, allow search<\/strong> (recommended), <strong>Block all AI bots<\/strong> and <strong>Allow all AI bots<\/strong>. Fine-tune any bot after picking one.<\/li>\n<li>Add your own bots: type a user agent, pick its purpose, and it follows the presets like the built-in ones.<\/li>\n<li>When an update adds bots to the list, BotGate tells you which ones and how they are set, and marks them in the table.<\/li>\n<li>Folder rules keep the AI bots you allow out of chosen folders, such as <code>\/members\/<\/code>. Quick rules do it for media uploads, RSS feeds, search results and the REST API in one click.<\/li>\n<li>Rules are added to WordPress's virtual robots.txt through the <code>robots_txt<\/code> filter, between <code># BEGIN BotGate<\/code> and <code># END BotGate<\/code>. BotGate never edits a file on your server.<\/li>\n<li>A live preview shows exactly which rules will be added before you save. Copy the rules or download them as a file, for sites that use a physical robots.txt.<\/li>\n<li>Test a URL: pick a bot, or every bot at once, and a page to see whether your robots.txt allows it, and which rule decides.<\/li>\n<li>Check your live robots.txt: BotGate downloads it the way a crawler does, to catch a CDN, host or cache that serves something else, such as Cloudflare's managed robots.txt.<\/li>\n<li>Conflict detection warns you when a physical robots.txt file overrides the virtual one, when another plugin removes BotGate's rules, when other rules name the same bots (for example from an SEO plugin's robots.txt editor), when the site discourages search engines, when WordPress is installed in a subdirectory, or when plain permalinks are used.<\/li>\n<li>A Site Health test (Tools \u2192 Site Health) reports the same conflicts.<\/li>\n<\/ul>\n\n<p><strong>AI usage signals<\/strong><\/p>\n\n<ul>\n<li>Content Signals: tell every crawler whether your content may be used for search results, AI answers and AI training, with a <code>Content-Signal<\/code> line in robots.txt.<\/li>\n<li>TDMRep: reserve your text and data mining rights, the opt-out format used in the EU. BotGate publishes <code>\/.well-known\/tdmrep.json<\/code> and adds a <code>tdm-reservation<\/code> header and meta tag to every page, with an optional link to your licensing policy.<\/li>\n<li>noai and noimageai: a robots meta tag and an <code>X-Robots-Tag<\/code> header on every page that ask AI tools not to use your pages or images.<\/li>\n<li>ai.txt: publishes <code>\/ai.txt<\/code> in the format of Spawning's ai.txt generator, listing the types of files (text, images, audio, video, code) AI may not be trained on.<\/li>\n<\/ul>\n\n<p><strong>llms.txt generator<\/strong><\/p>\n\n<ul>\n<li>Publishes a Markdown file at <code>\/llms.txt<\/code> with your site name, a short description, the pages you choose and the latest posts from the categories you choose.<\/li>\n<li>Lists other public content types too, such as WooCommerce products or documentation, and can add a section that links each selected category with its description.<\/li>\n<li>Put the sections in any order and rename their headings.<\/li>\n<li>Leave out chosen posts and pages by URL or ID.<\/li>\n<li>Extra links of your own go under the <code>## Optional<\/code> heading from the llms.txt spec.<\/li>\n<li>Each link shows the meta description from Yoast SEO, Rank Math, All in One SEO or SEOPress, or the excerpt when there is none.<\/li>\n<li>With Polylang or WPML, each language gets its own file, such as <code>\/fr\/llms.txt<\/code>, linked from <code>\/llms.txt<\/code>.<\/li>\n<li>Preview the file before saving.<\/li>\n<li>Regenerates automatically when you publish, update or delete content, and is sent with <code>ETag<\/code> and <code>Last-Modified<\/code> headers so tools that check back get a quick \"not modified\".<\/li>\n<li>Password-protected, private and draft content is never included.<\/li>\n<\/ul>\n\n<p><strong>Setup and overview<\/strong><\/p>\n\n<ul>\n<li>A three-step setup wizard on a new install: choose a preset, the usage signals, and what llms.txt lists.<\/li>\n<li>A Dashboard widget with the bots blocked and allowed, any conflicts, and which signals are on.<\/li>\n<li>Recent changes: the last 20 changes to BotGate's settings, with who made them and when, from the settings screen, WP-CLI or the REST API.<\/li>\n<li>Reset every setting to its default in one click.<\/li>\n<\/ul>\n\n<p><strong>WP-CLI<\/strong><\/p>\n\n<p>Manage BotGate from the command line: <code>wp botgate status<\/code>, <code>wp botgate bots<\/code>, <code>wp botgate preset &lt;preset&gt;<\/code>, <code>wp botgate allow &lt;bot&gt;...<\/code>, <code>wp botgate block &lt;bot&gt;...<\/code>, <code>wp botgate add-bot &lt;bot&gt; [--purpose=&lt;purpose&gt;]<\/code>, <code>wp botgate remove-bot &lt;bot&gt;<\/code>, <code>wp botgate paths [list|add|remove|clear]<\/code>, <code>wp botgate signals<\/code>, <code>wp botgate robots<\/code>, <code>wp botgate test &lt;url&gt; [--bot=&lt;bot&gt;]<\/code>, <code>wp botgate check-live<\/code>, <code>wp botgate llms [--regenerate]<\/code>, <code>wp botgate history<\/code> and <code>wp botgate reset<\/code>.<\/p>\n\n<p><strong>REST API<\/strong><\/p>\n\n<p>For headless sites and automation, under <code>\/wp-json\/botgate\/v1\/<\/code>: <code>GET status<\/code>, <code>GET<\/code> and <code>POST settings<\/code>, <code>GET bots<\/code>, <code>POST bots\/&lt;bot&gt;<\/code> with <code>access<\/code> set to <code>allowed<\/code> or <code>blocked<\/code>, <code>POST preset<\/code> and <code>GET test?url=&lt;url&gt;&amp;bot=&lt;bot&gt;<\/code>. Every route needs the same permission as the settings screen (<code>manage_options<\/code>).<\/p>\n\n<p><strong>Privacy<\/strong><\/p>\n\n<p>The free version sends no data anywhere and does no tracking. The only request it makes is the live robots.txt check, to your own site, when you click <strong>Check now<\/strong>.<\/p>\n\n<p><strong>Known bots in this release<\/strong><\/p>\n\n<p>GPTBot, OAI-SearchBot, ChatGPT-User (OpenAI) \u00b7 ClaudeBot, Claude-SearchBot, Claude-User (Anthropic) \u00b7 Google-Extended (Google) \u00b7 PerplexityBot, Perplexity-User (Perplexity) \u00b7 Meta-ExternalAgent, Meta-ExternalFetcher, FacebookBot (Meta) \u00b7 Applebot-Extended (Apple) \u00b7 Amazonbot (Amazon) \u00b7 DuckAssistBot (DuckDuckGo) \u00b7 MistralAI-User (Mistral AI) \u00b7 cohere-ai, cohere-training-data-crawler (Cohere) \u00b7 YouBot (You.com) \u00b7 CCBot (Common Crawl) \u00b7 Bytespider (ByteDance) \u00b7 AI2Bot (Allen Institute for AI) \u00b7 Diffbot (Diffbot) \u00b7 ImagesiftBot (Hive) \u00b7 omgili (Webz.io) \u00b7 PanguBot (Huawei) \u00b7 Timpibot (Timpi).<\/p>\n\n<p>The list ships with the plugin and is updated with each release. Add any other bot on the AI Bots screen, or change the list in code with the <code>botgate_bots<\/code> filter.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>anilsuwal-botgate<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the plugin from the Plugins screen.<\/li>\n<li>Activate it.<\/li>\n<li>Go to <strong>Settings \u2192 BotGate<\/strong>. The recommended preset (block training, allow search) is active by default.<\/li>\n<li>Open the <strong>llms.txt<\/strong> tab, choose the pages and categories to list, and click <strong>Save and regenerate<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20robots.txt%20actually%20stop%20ai%20bots%3F\"><h3>Does robots.txt actually stop AI bots?<\/h3><\/dt>\n<dd><p>robots.txt is a request. The major AI companies say their crawlers respect it, but a bot can ignore it.<\/p><\/dd>\n<dt id=\"i%20have%20a%20robots.txt%20file%20in%20my%20site%20root.%20will%20botgate%20work%3F\"><h3>I have a robots.txt file in my site root. Will BotGate work?<\/h3><\/dt>\n<dd><p>No. A physical file is served by your web server before WordPress runs, so the virtual robots.txt (and BotGate's rules) is never used. BotGate warns you about this. Delete or rename the file, or copy the BotGate rules from the preview into it.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20yoast%20seo%2C%20rank%20math%20or%20all%20in%20one%20seo%3F\"><h3>Does it work with Yoast SEO, Rank Math or All in One SEO?<\/h3><\/dt>\n<dd><p>BotGate is built to work alongside them. Those plugins also use the <code>robots_txt<\/code> filter; BotGate adds its block after theirs (priority 20) and never duplicates it.<\/p><\/dd>\n<dt id=\"why%20does%20%2Fllms.txt%20return%20a%20404%3F\"><h3>Why does \/llms.txt return a 404?<\/h3><\/dt>\n<dd><p>Go to <strong>Settings \u2192 Permalinks<\/strong> and click <strong>Save Changes<\/strong> to refresh the rewrite rules. With plain permalinks, the file is served at <code>\/?botgate_llms=1<\/code>.<\/p><\/dd>\n<dt id=\"what%20do%20folder%20rules%20do%20to%20the%20rest%20of%20robots.txt%3F\"><h3>What do folder rules do to the rest of robots.txt?<\/h3><\/dt>\n<dd><p>A crawler that finds a group for its own name ignores the <code>User-agent: *<\/code> group. So when you add folder rules, BotGate repeats your <code>User-agent: *<\/code> rules (such as <code>Disallow: \/wp-admin\/<\/code>) for the AI bots you allow, and they keep applying.<\/p><\/dd>\n<dt id=\"do%20crawlers%20have%20to%20follow%20content%20signals%20and%20tdmrep%3F\"><h3>Do crawlers have to follow Content Signals and TDMRep?<\/h3><\/dt>\n<dd><p>No. Like robots.txt, they state your terms in a machine-readable way, but nothing technically forces a crawler to follow them.<\/p><\/dd>\n<dt id=\"do%20crawlers%20read%20noai%2C%20noimageai%20and%20ai.txt%3F\"><h3>Do crawlers read noai, noimageai and ai.txt?<\/h3><\/dt>\n<dd><p>Few do. Neither is an official standard: noai and noimageai started with DeviantArt, and ai.txt with Spawning. They add to your robots.txt rules; they do not replace them.<\/p><\/dd>\n<dt id=\"the%20live%20check%20says%20botgate%27s%20rules%20are%20missing.%20what%20now%3F\"><h3>The live check says BotGate's rules are missing. What now?<\/h3><\/dt>\n<dd><p>Something between WordPress and the visitor serves a different robots.txt: a physical file in your site root, your host, or a CDN such as Cloudflare. Check the CDN's robots.txt or AI bot settings, clear its cache, and run the check again.<\/p><\/dd>\n<dt id=\"can%20i%20keep%20a%20page%20out%20of%20llms.txt%20without%20unticking%20its%20category%3F\"><h3>Can I keep a page out of llms.txt without unticking its category?<\/h3><\/dt>\n<dd><p>Yes. Add its URL or post ID under <strong>Leave out<\/strong> on the llms.txt tab.<\/p><\/dd>\n<dt id=\"which%20content%20is%20included%20in%20llms.txt%3F\"><h3>Which content is included in llms.txt?<\/h3><\/dt>\n<dd><p>Only the pages and categories you select, and only published content that is not password-protected or private.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Setup wizard on a new install, a Dashboard widget, a history of the last 20 settings changes, and a reset button.<\/li>\n<li>AI Bots: search and filter the table, block or allow every bot shown at once, and links to each company's page about its bot.<\/li>\n<li>Quick folder rules for media uploads, RSS feeds, search results and the REST API. Folder rules can now match query strings, such as <code>\/*?s=<\/code>.<\/li>\n<li>A notice when an update adds bots, with how they are set.<\/li>\n<li>Test a URL against every bot at once, and check the robots.txt your visitors actually get.<\/li>\n<li>Warns when another plugin removes BotGate's rules, or when other rules name the same bots.<\/li>\n<li>noai and noimageai tags, and an ai.txt file.<\/li>\n<li>llms.txt: section order and headings, posts and pages to leave out, a Categories section, one file per language with Polylang or WPML, and ETag and Last-Modified headers.<\/li>\n<li>More WP-CLI commands: <code>add-bot<\/code>, <code>remove-bot<\/code>, <code>paths<\/code>, <code>signals<\/code>, <code>check-live<\/code>, <code>history<\/code> and <code>reset<\/code>.<\/li>\n<li>REST API under <code>\/wp-json\/botgate\/v1\/<\/code>.<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/plugins.trac.wordpress.org\/browser\/anilsuwal-botgate\/trunk\/changelog.txt\">See changelog for all versions<\/a>.<\/p>","raw_excerpt":"Choose which AI bots can read your content, and publish an llms.txt file for AI search tools.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/390040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=390040"}],"author":[{"embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anilsuwal16"}],"wp:attachment":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=390040"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=390040"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=390040"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=390040"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=390040"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=390040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}