Linux 软件免费装
Banner图

ADG Markdown for AI Crawlers

开发者 andyodua
freemius
更新时间 2026年9月19日 03:52
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

markdown ai crawler llms.txt gptbot

下载

2.1.0 1.1.0 1.0.0 1.2.0 2.0.0 2.1.1 2.2.0

详情介绍:

When a known AI crawler (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and others) requests one of your posts or pages, this plugin returns clean Markdown of the main content on the same URL instead of the full theme HTML — no header, footer, sidebar or scripts. Regular visitors keep seeing your normal site. It also generates llms.txt and llms-full.txt — a sitemap-style index of your content for AI tools — served at /llms.txt and /llms-full.txt. These are kept in sync as real files at your site root as a fallback for hosts that block the virtual route before WordPress runs, so the files stay available even there. What it does Privacy and external services The Markdown/llms.txt generation itself does not connect to any external service, send any data off your site, or load any remote scripts — all content processing happens on your own server. This plugin uses the Freemius SDK for licensing. If you choose to enable premium features with a license key, the plugin connects to the Freemius API (freemius.com) to validate your license and enable the paid functionality. This connection is opt-in: it is only made if you enter a license key, and no license or plan data is required to use the free feature set described above. See the Freemius privacy policy for details on what limited data is shared with Freemius during opt-in and licensing. Good to know Pro version A Pro version is available with bot IP verification (anti-spoofing), bot-visit analytics with CSV export, a one-click self-test, and priority support. See the plugin's settings page for details. The free version is fully functional on its own and is not time-limited.

安装:

  1. Upload the adg-markdown-for-ai-crawlers folder to /wp-content/plugins/, or install the plugin through the WordPress "Plugins" screen.
  2. Activate the plugin.
  3. Go to Settings → AI Bots & Markdown to configure it.
  4. On Nginx, if /llms.txt returns a 404, make sure your config falls through to index.php (the standard try_files $uri $uri/ /index.php?$args; block covers this). On Apache it works out of the box.

屏幕截图:

  • The "Hide from AI bots" checkbox on the post editor.

升级注意事项:

1.1.0 YAML front matter, custom fields/ACF, taxonomy archives, WooCommerce support, term-based exclusions, cache compatibility, and a Markdown preview link. 1.0.0 Initial release.

常见问题:

Will private or draft pages be exposed to bots?

No. Markdown is served only for published, non-password-protected, non-private posts of the allowed types. Access rights are never bypassed.

Does it send my content to any external server?

No. Your content is never sent anywhere — detection is by User-Agent, and all conversion happens locally. The plugin does contact the Freemius API (freemius.com) for license validation, but only if you activate a Pro license key; this never involves your site's content.

Does it work with page builders like Elementor?

Yes. Content is taken through the_content, so shortcodes and builder output are rendered before conversion. Testing on your specific setup is recommended.

A bot still receives HTML instead of Markdown. Why?

Most often the request is blocked at the server/CDN level (HTTP 403) or served from a page cache before the plugin runs. Make sure your cache honors Vary: User-Agent or excludes bot user-agents.

My llms.txt file returns a 404 even though the plugin is active and enabled.

On Newfold-family hosting (Bluehost, HostGator, iPage and similar cPanel providers), a server-level block in .htaccess (# BEGIN NFD EPC) may prevent /llms.txt requests from reaching WordPress. This is not a plugin bug — the server intercepts .txt file requests before PHP. Since 2.2.0 the plugin also keeps a real llms.txt file at your site root as a fallback, which resolves this on many hosts automatically; if it's still blocked, Settings → AI Bots & Markdown offers a "Try automatic fix" button (Apache) or the exact manual line to add: open .htaccess, find the # BEGIN NFD EPC block, locate the line with RewriteCond %{REQUEST_URI} !(robots\.txt|...), and add llms\.txt|llms-full\.txt to the exception list: RewriteCond %{REQUEST_URI} !(robots\.txt|llms\.txt|llms-full\.txt|...). Save and re-test using Settings → AI Bots & Markdown → "Re-check now".

更新日志:

2.2.0 2.1.1 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0