| 开发者 | forgeonline |
|---|---|
| 更新时间 | 2026年7月31日 11:14 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
User-agent: GPTBot gets logged as OpenAI. Forge AI Bot Log verifies each visit against the crawler's own published infrastructure using forward-confirmed reverse DNS — the technique Google, OpenAI and Anthropic recommend for confirming their own crawlers — and labels every hit Verified, Spoofed or Unverified. You find out which AI traffic genuinely came from OpenAI, and which was something else wearing its name.
Verification covers every crawler that publishes a way to check it, including OpenAI, Anthropic, Google, Perplexity, Amazon, Apple and Meta. Bots with no published verification method are labelled Unverified rather than guessed at.
Beyond verification, Forge AI Bot Log shows you exactly which AI crawlers and assistants are visiting your WordPress site and explains what each one actually does. The bundled directory covers 23 bots from 15 companies, including GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-User, Google-Extended, GoogleOther, PerplexityBot, CCBot, Bytespider, Amazonbot, Applebot, Applebot-Extended, meta-externalagent, cohere-ai, Diffbot, YouBot, MistralAI-User and DuckAssistBot.
Key features
Disallow: / directive for that crawler to your robots.txt, and there is a hard-block .htaccess snippet for the bots that ignore robots.txt.forge-ai-bot-log folder to /wp-content/plugins/, or install via Plugins → Add New.mu-plugin/forge-ai-bot-log-mu.php into /wp-content/mu-plugins/ for earlier capture, or use Settings → Import from server access log.Block GPTBot to stop OpenAI collecting your pages as training data for its models, and block OAI-SearchBot and ChatGPT-User if you also want to keep your content out of ChatGPT's search and live page-fetching. The plugin lists all three separately, because most people want to opt out of training without disappearing from AI search. Blocking writes the relevant robots.txt directives for you.
Yes — that is the main reason this plugin exists. A user-agent string is trivial to forge, so any scraper can send GPTBot and appear in your logs as OpenAI. On each tracked visit the plugin performs a reverse DNS lookup on the visiting IP, then re-resolves the hostname it gets back and confirms it maps to the same address and to the crawler's published domain. Genuine crawlers pass; spoofing does not. Hits are labelled Verified, Spoofed or Unverified so you can see the difference.
Tick the bots you want to block on the plugin's Access page. The directives are merged into the robots.txt WordPress serves, so you never edit a file by hand. One caveat worth knowing: if a real robots.txt file exists in your site root, your web server serves that file directly and WordPress never runs — so the plugin's rules will not appear. Delete or fold in that physical file if you want the plugin to manage your AI crawler directives.
robots.txt is advisory. Well-behaved bots obey it; some (Bytespider and Perplexity-User, in the bundled list) are reported to ignore it. For those the plugin generates an .htaccess hard-block snippet that rejects them at the server level, on Apache.
No. Google-Extended controls whether your content is used to train and ground Google's Gemini models. Normal Google Search crawling and indexing is done by Googlebot, which this plugin does not touch, so your search rankings are unaffected. Note also that blocking Google-Extended does not remove you from AI Overviews, which are generated from Google's regular search index.
23 bots from 15 companies — OpenAI, Anthropic, Google, Perplexity, Amazon, Apple, Meta, ByteDance, Cohere, Mistral AI, DuckDuckGo, You.com, Diffbot, Timpi and Common Crawl — split into AI training crawlers, AI search indexers and live retrieval agents. Each has its own entry explaining what it does with your pages. The crawlers behind the big assistants are all covered, so ChatGPT, Claude, Gemini and Perplexity traffic is identified by name rather than lumped together.
No. Logging is limited to matched AI bots and runs on an early hook, and reverse-DNS verification is throttled and cached. LLMs are not consulted at any point — all detection is local pattern matching against the bundled list plus a DNS lookup.
Full-page caches can serve bots without running PHP. Use the included must-use early logger and/or the access-log importer to capture those hits.
changelog.txt in the plugin folder.