=== ADCT LLM Index ===
Contributors: benjamindimalanta
Tags: llms.txt, llms-full.txt, ai, seo, woocommerce
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.2.26
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate and maintain llms.txt and llms-full.txt for AI assistants, with flexible content rules for shops and sold products.

== Description ==

ADCT LLM Index helps WordPress sites publish machine-readable **llms.txt** and **llms-full.txt** files at the site root so AI assistants and crawlers can discover your most important pages, products, and posts.

= Features =

* Writes **llms.txt** (curated index) and **llms-full.txt** (expanded index) to your site root
* Works with any shop/inventory page — not limited to the default WooCommerce shop URL
* Flexible **sold product** detection (tags, categories, stock status, custom meta)
* Section builders for pages, products, posts, brands, and custom post types
* Auto-regenerate on a schedule (daily/weekly) or when content is published
* Optional Yoast SEO llms.txt handoff to avoid duplicate files
* Preview generated content before saving

= File permissions =

The plugin writes `llms.txt` and `llms-full.txt` to your WordPress root directory. Your web server user must be able to write to that folder, or generation will show an error.

= Optional integrations =

* **WooCommerce** — products, brands taxonomy, stock status rules
* **Yoast SEO** — optional noindex respect and llms.txt disable helper

This plugin does not require a license key on WordPress.org. All features are included.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/adct-llm-index`, or install through the WordPress plugins screen.
2. Activate the plugin through the **Plugins** screen.
3. Go to **Settings → LLM Index** and configure your shop page, summary, and sections.
4. Click **Save & regenerate files** or **Regenerate now** on the Tools tab.
5. Visit `yoursite.com/llms.txt` to confirm the file was created.

== Frequently Asked Questions ==

= What is llms.txt? =

llms.txt is a plain-text index file (similar in spirit to robots.txt) that lists important URLs and short descriptions so AI systems can understand your site structure.

= Does this replace Yoast llms.txt? =

You can use both during migration. The plugin can disable Yoast llms.txt generation to avoid two plugins writing the same file.

= Where are files saved? =

`llms.txt` and `llms-full.txt` are written to your WordPress installation root (same folder as `wp-config.php`).

= Does the plugin call external services? =

The WordPress.org edition does not phone home for licensing or updates. Updates are delivered through WordPress.org.

== Screenshots ==

1. General settings — enable generation, shop page, summary, auto-regenerate
2. Sold product detection rules
3. llms.txt section builder
4. Generate and preview tools
5. About tab — WordPress.org edition info

== Changelog ==

= 1.2.26 =
* WordPress.org review: remove automatic install-repair (no plugin-folder file moves or active_plugins rewrites in the free edition)
* Wrong install path is reported via an admin notice with manual reinstall steps

= 1.2.23 =
* WordPress.org review: use WordPress.org profile as Author URI
* Add plugin owner to Contributors list
* Stop writing Yoast wpseo option directly; disable Yoast llms.txt only via Yoast API on explicit admin action

= 1.2.22 =
* Commercial release zip now uses forward-slash paths (fixes broken installs on Linux hosting).

= 1.2.21 =
* Repair nested adct-llms-index/adct-llms-index/ folder layouts after uploads and dashboard updates.

= 1.2.20 =
* Commercial release aligned with WordPress.org edition improvements through 1.2.10.
* Plugin Check compatibility, Playground-friendly zip paths, and About tab fixes.

= 1.2.10 =
* Remove false-positive header warning on the About tab when version is readable.

= 1.2.9 =
* Build zips with forward-slash paths for Linux/Playground compatibility.

= 1.2.8 =
* Resolve Plugin Check warnings: filter_input for admin GET/POST, post-exclusion without post__not_in.

= 1.2.7 =
* Plugin Check fixes: WP_Filesystem for file writes, translator comments, wp_delete_file on uninstall, remove load_plugin_textdomain.

= 1.2.6 =
* Prevent duplicate active copies from bootstrapping at the same time and show an admin warning with the exact plugin paths.
* Uninstall now removes generated llms.txt files when they were created by this plugin.

= 1.2.5 =
* Add one-click auto summary generation based on current site data.
* Improve install path warning to trigger only on truly nested plugin folders.

= 1.2.4 =
* Detect and warn when the plugin is installed in a nested adct-llm-index/adct-llm-index/ folder.

= 1.2.3 =
* Use @wordpress-plugin header block format required by Plugin Check.

= 1.2.2 =
* Use WordPress handbook plugin header format for Plugin Check compatibility.

= 1.2.1 =
* Fix plugin header format for WordPress.org Plugin Check.

= 1.2.0 =
* WordPress.org edition: all features included without license or trial limits
* Added readme.txt, uninstall cleanup, and text domain loading
* Commercial licensing moved to optional add-on package for private distribution

= 1.1.4 =
* License validation and update improvements

== Upgrade Notice ==

= 1.2.23 =
WordPress.org review fixes: Author URI, Contributors, and Yoast integration no longer writes to the wpseo option.

= 1.2.0 =
WordPress.org release. No license key required. Generation and auto-regenerate work out of the box.
