LLM Friendly
LLM Friendly adds two capabilities to your WordPress site:
1) /llms.txt An LLM-friendly index of the website with main links and a list of latest items per post type. You can exclude individual entries from the feed via Settings → LLM Friendly → llms.txt → “Excluded items”.
2) Markdown exports For selected post types, the plugin exposes .md endpoints under: {base}/{post_type}/{path}.md Entries can override their Markdown body via the “Markdown override” sidebar panel (or Classic Editor metabox) and can also be excluded from export through the same settings page.
This is useful for LLMs, indexing bots, and users who prefer plain text.
You can opt in to excerpts in llms.txt via llms_show_excerpt, and you can send X-Robots-Tag: noindex, nofollow for Markdown exports via md_send_noindex if you want Markdown-only consumers without search engine indexing.
If the automatic Markdown conversion does not fit a post, use the “Markdown override” sidebar panel (Gutenberg) or the Classic Editor metabox to provide a custom Markdown or block-based replacement.
Key features
- llms.txt endpoint with cached generation, optional excerpts, a configurable custom Markdown block, and a per-post exclusion list.
- Markdown exports for selected post types with Gutenberg-to-Markdown conversion, per-post Markdown overrides (sidebar panel/metabox), and a per-post exclusion list shared with llms.txt.
- Configurable base path for exports (e.g. “llm”) and per-post-type enable/disable toggles; changing the base path requires flushing rewrites.
- Manual or automatic regeneration of the cached llms.txt with ETag/Last-Modified headers.
- Optional X-Robots-Tag: noindex, nofollow for both /llms.txt and Markdown exports; the Markdown header is controlled by
md_send_noindex. - Toggle excerpts in llms.txt via
llms_show_excerptto add one-line summaries under each item. - Optional site title/description overrides plus a sitemap URL field for the generated llms.txt.
Requirements
- WordPress 6.0+
- PHP 7.4+
If requirements are not met, the plugin displays an admin notice and does not run.
