Linux 软件免费装

md4AI

开发者 codekraft
更新时间 2025年12月10日 00:33
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

SEO markdown AI GEO llms.txt

下载

1.1.0 1.2.0 1.0.0

详情介绍:

The md4AI plugin provides a powerful, multi-layered approach to Generative Engine Optimization (GEO). 1. Automatic AI Bot Detection (Zero-Config) md4AI automatically detects requests from a comprehensive list of known AI agents (like GPTBot, ClaudeBot, Google-Extended, etc.) and serves them a lightweight, on-the-fly Markdown version of your content instead of the standard HTML theme. This ensures a clean, parsable data feed for LLMs right out of the box. 2. Per-Post Custom Markdown (Metabox) The plugin adds a new metabox to your post and page editor, giving you full control over the AI-optimized version of your content. Serving an md version of the website is particular useful if your website has editors like Elementor / Beaver Builder / Divi Builder / other div bloated editors because bots usually skips complex and too much nested content. 3. Site-Wide AI Instructions (llms.txt) The plugin adds a new main page under 'Utilities' with dedicated tabs for configuration and insights. From here, you can create and manage a llms.txt file for your entire site. This combination gives you full control, from automatic optimization to granular, AI-enhanced, per-post content and site-wide AI directives. 4. GEO/AIO Insights & Validation The dedicated GEO/AIO Insights tab provides a unique validation mechanism for your site's AI presence, offering measurable scores (0-100) on how well your brand is understood by Generative Engines.

安装:

  1. Upload the md4ai folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. (Optional but Recommended): Install and configure the AI Services plugin to enable the "Generate with AI" features in the post metabox.
  4. The automatic bot detection is now live.
  5. Go to the new "md4AI" options page in your dashboard (usually under 'Settings') to configure your site-wide llms.txt file.
  6. Go to any post or page edit screen to find the "md4AI Custom Markdown" metabox to customize content for that specific page.

常见问题:

What is md4AI?

md4AI is a plugin that optimizes your website for Generative Engines (GEO) by serving custom Markdown and a site-wide llms.txt file.

What is GEO?

GEO is a new standard for Generative Engine Optimization (GEO) that helps guide LLMs in understanding your site's content and purpose.

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.).

How does the AI Services integration work?

If you have the ai-services plugin installed, md4AI adds a "Generate with AI" button to its post metabox. This takes the generated Markdown for that post and sends it, along with a prompt, to your chosen AI provider. The AI-enhanced text (e.g., your post plus a new FAQ section) then replaces the content in the metabox, ready to be served to bots.

What's the difference between the Custom Markdown and the llms.txt file?

They serve two different, important purposes:

  • Custom Markdown (Per Post/Page): This is controlled via a metabox on each post/page. It allows you to create a specific, enhanced Markdown version of that page's content. This is what an AI bot will receive instead of the HTML when it crawls that specific URL.
  • llms.txt (Site-Wide): This is controlled from the plugin's main options page. It's a single file for your entire site, similar to robots.txt. It doesn't contain post content, but rather gives general instructions and context to AI crawlers (e.g., site purpose, useful links, etc.). For more details, see https://llmstxt.org/.

What's the difference between 'Automatic' and 'Manual' Markdown?

This applies to your posts and pages:

  • Automatic: If you do nothing, the plugin automatically converts your post's HTML to Markdown on-the-fly when a bot visits.
  • Manual: If you use the metabox to "Generate" or "Generate with AI," you create a static version that is saved to your database. This saved version will be served to bots instead. This allows you to add enhanced content (like FAQs) that only the AI sees.

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.

Are there any performance concerns?

No. For automatic detection, the plugin runs early and immediately stops execution (exit;) after serving the Markdown content. For manual generation, the content is pre-generated and saved, so serving it is extremely fast.

更新日志:

1.1.1 1.1.0 1.0.0