Kandeshop LLMS.txt Generator

By Darren Kandekore

0+ active installationsVersion 1.2.1

Create and manage an llms.txt file from your WordPress admin to guide LLM/AI crawlers. Set policies and disallow rules.

Description

Create and manage an llms.txt file from your WordPress admin to guide LLM/AI crawlers (similar to robots.txt).
This plugin lets you:

  • Choose which AI user-agents to target (GPTBot, Google-Extended, CCBot).
  • Set high-level AI usage policies (Training, Summarization, Indexing, Attribution).
  • Add disallow rules for directories or paths.
  • Generate Now even if settings didn’t change.
  • Download the current/preview llms.txt for manual upload.
  • Get clear admin notices confirming success or failure.

Author

Darren Kandekore

Installation

From a ZIP

  1. Download the plugin ZIP (or create one from the plugin folder).
  2. In your WordPress admin, go to Plugins → Add New → Upload Plugin.
  3. Choose the ZIP, click Install Now, then Activate.

Manual (FTP/SFTP)

  1. Copy the plugin folder into /wp-content/plugins/.
  2. In Plugins, activate Kandeshop LLMS.txt Generator.

FAQ

Network-activated plugins work, but llms.txt is written once per server document root (shared). Manage from the main site for clarity.

Can I add per-user-agent rules?

This version writes a single block including all selected agents.
If you need per-agent blocks, open a feature request.

Caching/CDN considerations?

If your CDN caches text files, purge or bypass caching for /llms.txt after updates.

Changelog

1.2.0

  • Added Generate Now (force write without option changes).
  • Added Download (actual or preview file).
  • Clear success/failure admin notices with file link and size.
  • Safer file writes via WP_Filesystem with fallback.
  • Sanitization improvements (no HTML escaping in file content).
  • Path handling improvements.

1.1.0

  • Initial public release of the settings UI.
  • User-agent selection, policies, and disallow rules.
  • Auto-generation on option update.