| 开发者 | phalkmin |
|---|---|
| 更新时间 | 2026年5月23日 22:56 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
?format=md requests. Same URL, same content, none of the theme chrome, navigation, widgets, or page-builder scaffolding that AI bots and CLI tools don't need.
It also exposes /llms.txt for the emerging AI-indexing standard, so models know where to find your content.
Who is this for?
1. Developers using Claude Code, Cursor, Aider, or any CLI that feeds your own site content into an LLM.
If you've ever piped a blog post into Claude or ChatGPT for analysis, rewriting, or summarization, you've watched it burn through tokens parsing nav menus, footer markup, and CSS classes that have nothing to do with your content. A typical WordPress page measured live: ~19,800 tokens of HTML for ~975 tokens of actual content — a 20x reduction just by stripping the theme. Heavy page-builder sites (Elementor, Divi) routinely hit 100x or more.
That's the difference between fitting a handful of pages in a context window and fitting dozens.
Just append ?format=md to any post URL and pipe it straight into your tool of choice:
curl https://yoursite.com/my-post/?format=md | claude "summarize this"
2. Site owners getting "high resource usage" warnings from their host because AI bots are hammering the site.
GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and a dozen others crawl WordPress sites constantly. Each request renders your full theme, runs widget queries, loads page-builder assets, and ships hundreds of KB of HTML per page — most of which the bot discards before extracting the actual text.
ParseLess intercepts these crawls and serves a tiny Markdown payload instead. You keep the AEO/SEO benefit of being indexed by AI search, without paying the server cost of rendering your full theme for every bot hit.
Typical impact on AI bot traffic (measured on real WordPress pages):
?format=md query parameter works on any post URL for manual preview or CLI piping./llms.txt is published at your site root with a list of available content for AI indexers.?format=md on any post URL/llms.txt endpoint for AI-indexing standardsmd4ai_bot_list, md4ai_supported_post_types, md4ai_markdown_output, md4ai_cache_ttl, md4ai_should_serve_markdownparseless folder to /wp-content/plugins/?format=md to its URL/llms.txt.Append ?format=md to any post URL, e.g. https://example.com/my-post/?format=md. The same URL works from curl, wget, or any CLI tool you want to pipe into.
No. Markdown is only served when the request matches a known AI bot User-Agent or explicitly includes ?format=md. Browsers, Google's regular search crawler, and every other visitor receive your normal WordPress HTML. The Markdown endpoint also sends X-Robots-Tag: noindex so it never competes with your HTML pages in traditional search.
GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Claude-User, anthropic-ai, PerplexityBot, Perplexity-User, CCBot, Google-Extended, Applebot-Extended, Bytespider, Meta-ExternalAgent, cohere-ai. You can extend, replace, or restrict this list in the settings or via the md4ai_bot_list filter.
No — the opposite. ParseLess makes your content easier for AI bots to ingest, so you keep the AEO (Answer Engine Optimization) benefit of being cited by ChatGPT, Claude, Perplexity, and AI Overviews. It just delivers that content in a format that's cheap for both you and them.
It depends on your theme and what's hitting you. A real measurement on a content-rich page: response size dropped from 79 KB to 4 KB (95% smaller, 20x reduction) and TTFB from 251 ms to 115 ms. Database queries typically drop ~60–80% per request — the WordPress bootstrap still runs; only the theme/widget/builder rendering is skipped. Page-builder sites (Elementor, Divi) see the largest savings because their HTML payloads are the heaviest. The conversion is cached, so repeated bot hits on the same post are nearly free.
ParseLess runs the_content filter before conversion, so anything those builders render into the post content gets captured and converted. Layout-only wrappers and design scaffolding are stripped out, leaving the actual text, headings, lists, tables, images, and links.
Optionally, yes. Enable Include frontmatter in the settings to prepend a YAML block with title, URL, author, date, categories, tags, and excerpt.