Suggestions
LLMs.txt Lab logo LLMs.txt Lab
Free WordPress Plugin

WordPress llms.txt Generator Plugin

General LLMS.txt Generator by LLMs.txt Lab helps WordPress sites publish a clean, configurable /llms.txt file for AI assistants, crawlers and documentation discovery.

What It Creates

The plugin serves a dynamic /llms.txt endpoint from WordPress. It can include your site summary, Start Here links, category sections, recent posts, public pages, custom post types, optional links and sitemap location.

Who It Is For

Use it for blogs, SaaS websites, documentation hubs, ecommerce stores, learning sites, agency sites and publisher websites that want a maintained llms.txt file without editing a static file manually.

Owner and Author

The plugin is owned and published by LLMs.txt Lab. The plugin homepage and author URL both point to https://llmstxtlab.com/.

Plugin Features

Automatic /llms.txt endpoint: publish an AI-readable file at the site root without manually uploading a text file.

Configurable site context: edit the site title, short summary and detailed context from WordPress settings.

Post type controls: include posts, pages and public custom post types such as products, docs or lessons.

Category sections: group posts under public WordPress categories and skip categories you do not want included.

Markdown endpoints: optionally expose clean Markdown versions of pages at URLs like /page/index.html.md.

Custom descriptions: add a concise llms.txt description to individual posts or pages from the editor sidebar.

Caching controls: enable or disable internal transient caching and choose the cache duration.

Cache plugin compatibility: attempts cache purges for LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache and SiteGround Optimizer.

Editable link sections: control Start Here links and Optional links like Contact, Privacy Policy or Terms.

Uninstall cleanup: removes plugin options, generated transient cache and scheduled events when uninstalled.

How to Install

  1. Download the plugin ZIP from this page.
  2. Open your WordPress dashboard and go to Plugins > Add New Plugin.
  3. Click Upload Plugin, choose general-llms-txt-generator.zip, and click Install Now.
  4. Activate General LLMS.txt Generator.
  5. Go to Settings > LLMS.txt Generator and review the default settings.
  6. Visit https://yourdomain.com/llms.txt in a browser to confirm the endpoint loads as plain text.

Recommended Settings

Post types: start with post,page. Add public custom post types only when they contain useful indexable content, such as product, docs or lesson.

Links per section: use 5 to 10 links for most sites. Large documentation sites can use more, but the final llms.txt file should remain focused and easy for AI systems to scan.

Start Here links: include the homepage, about page, docs hub, product overview, pricing page, support page or any canonical resource that explains the website clearly.

Optional links: include contact, privacy policy, terms, disclaimer or other supporting pages that may help AI systems understand ownership, trust and policy context.

Caching: keep caching enabled on live sites. Disable it only while testing output changes or debugging a cache conflict.

WordPress.org Plugin Directory Readiness

The plugin package is structured for a WordPress plugin submission: it has a main plugin file, GPL-compatible license headers, WordPress.org-style readme.txt, stable version alignment, no tracking, no external API dependency, no public footer credit injection and uninstall cleanup.

Main file:
general-llms-txt-generator.php
Readme:
readme.txt
Uninstall cleanup:
uninstall.php
License:
GPL-2.0-or-later

FAQ

What does the WordPress llms.txt generator plugin do?
It creates a public /llms.txt endpoint for WordPress and can include posts, pages, public custom post types, category sections, sitemap links and optional Markdown versions of pages.
Can I use this plugin on any WordPress website?
Yes. It is no longer site-specific and can be configured for different WordPress websites from the plugin settings page.
Does it work with caching plugins?
Yes. It uses optional WordPress transient caching and attempts to purge common caching plugins when the generated file should change.