=== Rankioz AEO Toolkit ===
Contributors: nemanjatanaskovic
Tags: seo, aeo, llms.txt, schema, ai
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Control AI crawlers, add llms.txt, and output clean schema so ChatGPT, Perplexity, Gemini and Google AI can find and cite your site.

== Description ==

Search is moving into AI answers. People increasingly ask ChatGPT, Perplexity, Google AI Overviews, Gemini and Claude instead of scrolling a results page. **Rankioz AEO Toolkit** helps your WordPress site get found, understood, and cited by those engines. This is Answer Engine Optimization (AEO), also called Generative Engine Optimization (GEO).

Most sites fail at the basics without knowing it: AI crawlers are silently blocked, there is no `llms.txt`, and the structured data that lets an AI attribute your content is missing or broken. This plugin fixes that, no code required.

**What it does**

* **AI-crawler control.** Allow or block the major AI crawlers (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, CCBot and more) with simple presets, so the engines you want can actually read your site.
* **llms.txt.** Generate and serve a valid `/llms.txt` that tells AI tools what your site is and where your key content lives.
* **Schema and entity signals.** Add and validate Organization, Person, FAQPage, Article and Breadcrumb JSON-LD, including `sameAs`, so AI engines can recognize your brand as an entity and quote your answers.
* **AI-visibility audit.** A one-screen score that tells you whether your site is AI-search ready and exactly what to fix.

Built by a technical SEO engineer who does this work for clients every day.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/` or install it from the Plugins screen.
2. Activate it.
3. Open **Rankioz AEO Toolkit** in the admin menu and work through the tabs: Crawlers, llms.txt, Schema, Audit.

== Frequently Asked Questions ==

= What is AEO / GEO? =
Answer Engine Optimization (AEO), or Generative Engine Optimization (GEO), is optimizing so AI answer engines can find, understand and cite your content, the same way SEO optimizes for classic search.

= Does this replace my SEO plugin? =
No. It complements Yoast, Rank Math and others by focusing on AI-search readiness. Where they also output schema, the plugin defers to avoid duplicates.

= Will this get me ranked in ChatGPT tomorrow? =
No tool can promise that. This plugin fixes the technical foundations that make your content reachable and extractable by AI engines. Visibility builds from there.

= What is llms.txt? =
It is an emerging convention: a plain-text file at /llms.txt that tells AI tools what your site is about and points them to your key content. The plugin generates one from your site and serves it automatically.

= I have a physical robots.txt file. Does the crawler control still work? =
If a real robots.txt file exists at your site root, WordPress serves that file instead of its virtual one, so the plugin's directives will not appear. The plugin detects this and shows a notice; remove the file or copy the rules into it by hand.

= Does it send any of my data anywhere? =
No. It makes no external calls on the front end. The audit's optional "live checks" only fetch your own site's URLs, and only when you click the button.

== Screenshots ==

1. AI-crawler access presets.
2. llms.txt generator and editor.
3. Schema and entity builder.
4. AI-visibility audit score.

== Works well with ==

The AEO Toolkit makes your site readable and quotable for AI engines. Its companion, the [Rankioz SEO](https://wordpress.org/plugins/rankioz-seo/) plugin, connects your site to the [Rankioz platform](https://rankioz.com) so brand-trained, answer-ready articles publish to WordPress automatically. Together they cover the full loop: fix the basics, track whether ChatGPT, Perplexity, Gemini and Claude cite you, and publish the content that wins the answers.

== Changelog ==

= 0.2.0 =
* Audit tab now links to Rankioz AI visibility tracking so you can check whether AI assistants actually cite your brand after fixing the basics.
* Added a "Works well with" note about the Rankioz SEO companion plugin.

= 0.1.0 =
* Initial scaffold and development version.
* AI-crawler access manager: presets ("Allow AI search", "Block AI training, allow AI search", "Block all AI") and a per-bot allow/block matrix, output via the robots.txt filter, with a notice when a physical robots.txt overrides it.
* llms.txt manager: serves /llms.txt as text/plain, auto-generates a default from your site title, tagline and pages, and gives you an editable textarea with a "Regenerate from site" button.
* Schema / entity builder: Organization or Person identity JSON-LD (name, URL, logo, description, sameAs) output in the head, per-post/page FAQPage schema via an "AI FAQ" editor box, in-admin validation, and automatic deferral when Yoast or Rank Math is active.
* AI-visibility audit: a one-screen score with per-check pass/fail and a one-line fix for each (llms.txt, AI crawler access, identity schema, FAQ, sitemap, content in raw HTML), plus optional admin-triggered live checks that fetch your own site's URLs.

== Upgrade Notice ==

= 0.1.0 =
Initial development release.
