| 开发者 | skreep |
|---|---|
| 更新时间 | 2026年7月10日 23:52 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
/llms.txt index and optional Markdown versions of selected public content. You stay in control of what is exposed, how dense the index should be, which endpoints should be noindexed, and which posts or pages should be excluded.
What the plugin creates
/llms.txt.md endpoints under:
/{base}/{post_type}/{path}.md
Each Markdown export includes a JSON metadata block with title, URL, published and modified dates, language, description, author, and publisher, followed by a Markdown conversion of the post content. Singular views also receive alternate Markdown links, so compatible tools can discover the plain-text version.
Why site owners use it
/llms.txt and .md exports./llms.txt and Markdown exports without changing their WordPress visibility./llms.txt and the Markdown URL pattern./llm/post/example.md, with post type controls for posts, pages, and safe public custom post types./llms.txt and Markdown exports.unfiltered_html, length caps for custom Markdown fields, and developer filters for edge cases.The plugin serves llms.txt dynamically via WordPress. It is not a physical file on disk.
Most often this is a rewrite or web-server routing issue. If you run Nginx in front of Apache, make sure .md requests are routed to WordPress (not handled as static files).
When you change the base path, flush permalinks and confirm that .md and /llms.txt are not short-circuited by static file rules.
Enable the "Send noindex header for Markdown exports" option (stored as md_send_noindex) to emit the header on all Markdown responses.
Use Settings -> LLM Friendly -> llms.txt -> "Essential links". Add one item per line as Title | URL | Notes; URLs may be absolute or site-relative. The plugin also adds configured front page, posts page, and privacy policy links when available.
Yes. Open the post editor and use the "Markdown override (LLM Friendly)" metabox. In Gutenberg it appears with the editor's additional panels/metaboxes. The override accepts plain Markdown or block markup, and the llms.txt description field provides a one-line summary for llms.txt and Markdown metadata. If you want to hide a specific entry from llms.txt and Markdown exports, go to Settings -> LLM Friendly -> llms.txt -> "Excluded items", search by title, and add it to the exclusion list.
By default, the sitemap field accepts site-relative paths and same-site absolute URLs. External sitemap URLs are rejected unless a developer opts in with the llmf_allow_external_sitemap_url filter.
Not by default. Public Markdown and llms.txt exports require public, non-attachment, publicly queryable post types. Developers can explicitly opt in safe edge-case types with the llmf_exportable_post_type filter.