llms.txt for WordPress

Generate a WordPress snippet that serves /llms.txt.

Result
—

Plugsky is OpenAI-compatible with flat-rate plans — see pricing or start on the free plan (2 free models, no card).

What the How to Add llms.txt to WordPress | Plugin & Code Methods does

This page explains how to add an llms.txt file to a WordPress site so AI crawlers can discover a curated map of your content. It covers two approaches: using a plugin or serving the file through a theme template or redirect rule, and notes the redirect handling needed for common setups. It is written for site owners and developers who understand why llms.txt matters and now need the WordPress-specific steps. It is guidance, not an automated generator.

How to use it

  1. Open the llms.txt for WordPress guide.
  2. Draft the llms.txt content for your site.
  3. Choose a method: a plugin or a file served from the web root.
  4. Make sure the file is returned at /llms.txt with a plain-text content type.
  5. Add a rewrite or redirect rule if WordPress routing blocks the path, then verify the result.

FAQ

Should I use a plugin or code?

A plugin is faster and survives theme changes. Serving the file yourself through a template or redirect gives more control over content and caching, but you must maintain the rewrite rules.

Where does the file need to live?

At the site root, so it resolves at your domain's /llms.txt and is served as plain text. WordPress permalinks often intercept unknown paths, which is why a rewrite rule may be needed.

Why does my llms.txt return a 404?

WordPress sends unknown paths to its routing layer. Register a rewrite rule or place a real file in the web root, then flush permalinks and confirm the response headers.

Start Free →

Canonical pricing and plans: plugsky.com/#sec-pricing · Terms · SLA · Docs

Related

Plugsky Documentation

AI Governance Framework for Enterprise LLMs