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.
- Generate Custom Markdown: Convert your post’s content into Markdown with one click.
- Manually Edit: Modify and enhance the Markdown to be exactly as you want AIs to see it.
- (Optional) Enhance with AI: If you also use the AI Services plugin, you can use the “Generate with AI” button to automatically add FAQs, discussion questions, or key takeaways extracted from your post.
- Serve Enhanced Content: When an AI bot visits this specific post, it will be served your new, custom-tailored Markdown version, giving it far richer data.
- Automatic Fallback: If you don’t create a custom version, the plugin falls back to the automatic on-the-fly conversion.
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.
- What is
llms.txt? This is a file, similar torobots.txt, that provides general instructions, context, and useful links to AI crawlers. It’s a new standard to help guide LLMs in understanding your site’s content and purpose. - Manage Content: Use the settings page to write your
llms.txtcontent, which will then be served automatically to bots that look for it. - Learn More: You can find more details on this new standard at https://llmstxt.org/.
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.
- The Validation Process: We ask a Large Language Model (LLM) to complete a “knowledge card” about your site (e.g., brand name, main topics, product categories).
- Ground Truth Check: The AI response is immediately compared with real data extracted from your WordPress database (e.g., site title, author names, WooCommerce categories)
- Final Score: Based on this cross-check, the insight provides a score for brand identity and technical relevance, highlighting exactly where the AI provided incorrect or insufficient data (hallucinations or missing data).