Linux 软件免费装

md4AI

开发者 codekraft
更新时间 2025年11月18日 20:27
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

SEO insights markdown AI GEO

下载

1.0.0

详情介绍:

The md4AI plugin automatically detects requests from a comprehensive list of known AI agents (like GPTBot, ClaudeBot, Google-Extended, etc.) and serves them a lightweight, structured Markdown version of your content instead of the standard HTML theme. This is a powerful tool for modern SEO and AI optimization: The Markdown output includes the post title, URL, publication date, author, content (converted from HTML), categories, and tags.

安装:

  1. Upload the md4ai folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. There are no settings. The plugin works immediately upon activation.

常见问题:

How does it detect an AI bot?

The plugin checks the incoming HTTP User-Agent string against an internal, pre-defined list of known AI and large language model (LLM) crawlers (e.g., gptbot, claudebot, google-extended, perplexitybot, etc.).

Does this affect regular search engine optimization (SEO)?

No. Regular users and traditional search engine crawlers (like standard Googlebot) will continue to receive your standard HTML page. This functionality is specifically targeted at AI agents that are known to utilize data for LLMs and generative AI.

What content is included in the Markdown file?

The plugin outputs:

  • Post Title (as an H1)
  • Meta (URL, Date, Author)
  • The main Post Content (converted from HTML to Markdown)
  • A list of Categories and Tags (as H2 headers)

Are there any performance concerns?

No. The plugin runs early in the request process and immediately stops execution (exit;) after serving the Markdown content, preventing the loading of the full WordPress theme and template files for the detected bot.

更新日志:

1.0.0