Botkibble Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Botkibble converts any published post or page on your WordPress site to Markdown. It caches the output and serves it with text/markdown headers.
Three ways to request Markdown:
.mdsuffix — append.mdto any post or page URL (e.g.example.com/my-post.md)- Query parameter — add
?format=markdownto any post or page URL - Content negotiation — send
Accept: text/markdownin the request header
Cache variants (optional):
You can persist alternate cached representations by adding ?botkibble_variant=slim (or any other variant name).
Variant caches are stored under:
/wp-content/uploads/botkibble/_v/<variant>/<slug>.md
What you get:
- YAML frontmatter with title, date, categories, tags,
word_count,char_count, andtokens(estimate) - Clean Markdown converted from the fully-rendered post HTML
Content-Type: text/markdownresponse headerContent-Signalheader (ai-train,search,ai-input)- Discovery via
<link rel="alternate">tag (body) and HTTPLinkheader - Static file offloading with automatic invalidation on post update
- Rate limiting for cache-miss regenerations (20 per minute by default)
What it does NOT do:
- Expose drafts, private posts, or password-protected content
- Serve non-post/page content types by default
- Require any configuration — activate it and it works
Why Markdown?
HTML is expensive for AI systems to process. Cloudflare measured an 80% reduction in token usage when converting a blog post from HTML to Markdown (16,180 tokens down to 3,150).
Cloudflare now offers Markdown for Agents at the CDN edge via the Accept: text/markdown header, available on Pro, Business, and Enterprise plans.
This plugin does the same thing at the origin, so it works on any host. It also adds .md suffix URLs, ?format=markdown query parameters, YAML frontmatter, static file caching, and server-level offloading.
If you use Cloudflare, both share the same Accept: text/markdown header, Content-Signal headers, and X-Markdown-Tokens response headers.
Performance & Static Offloading
This plugin supports static file offloading by writing Markdown content to /wp-content/uploads/botkibble/.
Nginx Configuration
To bypass PHP entirely and have Nginx serve the files (including variants) directly:
# Variants
location ~* ^/(_v/[^/]+/.+).md$ {
default_type text/markdown;
try_files /wp-content/uploads/botkibble/$1.md /index.php?$args;
}
# Default
location ~* ^/(.+).md$ {
default_type text/markdown;
try_files /wp-content/uploads/botkibble/$1.md /index.php?$args;
}
Apache (.htaccess)
Add this to your .htaccess before the WordPress rules:
RewriteEngine On
# Variants
RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads/botkibble/_v/$1/$2.md -f
RewriteRule ^_v/([^/]+)/(.+).md$ /wp-content/uploads/botkibble/_v/$1/$2.md [L,T=text/markdown]
# Default
RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads/botkibble/$1.md -f
RewriteRule ^(.*).md$ /wp-content/uploads/botkibble/$1.md [L,T=text/markdown]
Even without these rules, the plugin uses a “Fast-Path” that serves cached files from PHP before the main database query is executed.
Credits
We thank Cristi Constantin (https://github.com/cristi-constantin) for contributing cache variants, URL and SEO improvements, and fixing important bugs.
Screenshots
No screenshots provided

