Generate a WordPress snippet that serves /llms.txt.
—
Plugsky is OpenAI-compatible with flat-rate plans — see pricing or start on the free plan (2 free models, no card).
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.
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.
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.
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.
Canonical pricing and plans: plugsky.com/#sec-pricing · Terms · SLA · Docs