=== Rankal llms.txt ===
Contributors: rankalseo
Tags: llms.txt, ai, seo, llm, crawler
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate and serve a dynamic, cached /llms.txt AI context index. An add-on that works in partnership with Rankal SEO Optimizer.

== Description ==

Rankal llms.txt serves a machine-readable AI context index at yoursite.com/llms.txt.
It compiles your site metadata and content into a clean Markdown document that Large
Language Models can use to understand your site.

Features:

* Virtual /llms.txt endpoint via a WordPress rewrite rule (no physical file written).
* Transient caching with Immediate / Daily / Weekly refresh strategies.
* Tabbed admin UI: General, Site Metadata, Content & Post Types, Advanced & Cache.
* Per-post-type selection with live counts and drag-and-drop ordering.
* Inclusion controls for metadata, excerpts, full Markdown content, and taxonomies.
* Post/word limits and privacy rules (excludes protected, draft, private content).
* Custom title/intro/outro slots, optional robots.txt advertising.
* Auto-detects your XML sitemap (Rankal SEO Optimizer, Yoast, Rank Math, WP core).

== Installation ==

1. Upload the `rankal-llms-txt` folder to `/wp-content/plugins/`.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Visit "Rankal llms.txt" in the admin menu to configure.
4. Your index is served at https://your-site.com/llms.txt

If /llms.txt returns a 404 immediately after activation, open the
"Advanced & Cache" tab and click "Flush Rewrite Rules".

== Frequently Asked Questions ==

= Does this slow down my site? =

No. Normal page loads only run a single query-var check. The file itself is
served from a transient cache and rebuilt only when needed.

= Is a physical llms.txt file created? =

No. The endpoint is virtual and generated on the fly, then cached.

== Changelog ==

= 1.0.0 =
* Initial release.
