=== Rankolab AI SEO ===
Contributors: rankolab
Tags: seo, ai, automation, audit, indexing, aeo, geo
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.1.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Your SEO on autopilot — an autonomous AI agent that audits, fixes, optimises and grows your WordPress site.

== Description ==

Rankolab AI SEO puts your site's SEO on autopilot:

* **60-second onboarding** — connect with just your email. No OAuth screens, no API keys, no technical setup.
* **Autonomous SEO Agent** — detects CTR gaps, striking-distance keywords, content decay, thin FAQs, not-indexed pages and technical defects, then fixes them itself (or waits for your approval — you choose the autonomy level).
* **Technical site audits** with safe auto-fix and full rollback. Every content change is also a WordPress revision.
* **AI content & optimisation** — titles, meta descriptions, keywords, People-Also-Ask and FAQ generation via Rankolab Cloud (or your own Gemini keys).
* **AEO / GEO** — answer-engine and generative-engine optimisation: FAQPage schema, llms.txt health, AI-crawler policy checks.
* **Indexing automation** — IndexNow out of the box (zero setup); Google Indexing API + URL inspection when you connect a Google credential.
* **Search Console intelligence** (optional) — keyword/page performance, CTR-gap fixes, decay refresh, competitor-gap mining.
* **Core Web Vitals watch**, smart internal linking, cannibalisation detection and a full action journal.
* **AdSense readiness autopilot** — daily reviewer-style scan (policy pages, ads.txt, content depth, freshness, trust signals) with safe auto-fixes: maintains ads.txt + the site-wide AdSense snippet, adds the advertising-cookies disclosure to your Privacy Policy and drafts missing About/Contact/Privacy pages.
* **Content quality autopilot** — scores every post on grade-6 readability, grammar, human-written feel (AI-detection risk) and internal duplication, then rewrites the worst posts daily with structure and facts preserved (journaled + revertible). New AI articles pass the same gate before publishing.
* **Free featured images** — relevant, license-free AI featured images for new articles + daily backfill (no API key needed).
* **Domain metrics & keyword research — free** — domain authority, backlinks, referring domains and spam score via Rankolab Cloud, plus live Google Autocomplete keyword ideas and your own striking-distance queries.
* **WordPress Dashboard widget** — Site-Kit-style overview of SEO health, AdSense readiness, content quality, authority/backlinks and indexing right on wp-admin's home screen.
* **Works with your SEO plugin** — syncs optimised copy into Rank Math, Yoast SEO or AIOSEO automatically, and renders titles/descriptions/FAQ schema itself when none is active.

== Installation ==

1. Upload the `rankolab-ai-seo` folder to `/wp-content/plugins/` (or upload the zip via Plugins → Add New → Upload).
2. Activate the plugin.
3. Open **Rankolab SEO** in the admin menu → Settings tab → enter your email → Connect to Rankolab Cloud. Done.
4. (Optional) Connect Google Search Console for keyword intelligence, and add your own Gemini keys if you prefer.

== Changelog ==

= 2.1.0 =
* New: Google Trends topic discovery — keyless daily discovery of new, rising topics (Google Trends RSS + Autocomplete niche expansion) scored for relevance against the site's own niche profile and filed into the Content Plan; optional auto-approve for full content automation beyond GSC.
* New: Skill-driven article generation — trend/general briefs are written to the article-writing skill: human voice with a story hook, grade-6 readability, semantic keyword clusters, banned AI-phrase avoidance, table of contents, natural closing, plus AI-authored featured-image prompts.
* Improved: Content quality autopilot and publish gate now run on the unified multi-LLM engine (BYOK first, Cloud fallback) instead of Cloud-only, and the AI-cliché watchlist grew.
* Redesigned: Enterprise admin UI — dark grouped sidebar navigation, clean top bar with autonomy control, quick-action toolbar, soft-color accent-bar stat cards (no emoji), refined tables/forms, and full responsive behavior with a mobile drawer menu.

= 1.2.0 =
* New: AdSense Readiness Monitor — daily scan + safe auto-fixes (ads.txt management, site-wide AdSense snippet, privacy-policy advertising disclosure, About/Contact/Privacy drafts, thin-content queueing, search-visibility repair).
* New: Content Quality Autopilot — grade-6 readability, grammar, AI-detection-safe humanizing and internal-duplication scoring with daily AI improvement of the worst posts (journaled, revertible) and a publish-time quality gate for generated articles.
* New: Free AI featured images (Pollinations) on new articles + daily backfill for posts missing thumbnails.
* New: Domain metrics (authority, backlinks, referring domains, spam score) via Rankolab Cloud — free, no key required — plus free keyword research (live Google Autocomplete + GSC striking-distance queries).
* New: Site-Kit-style Rankolab overview widget on the WordPress Dashboard.
* New admin tabs: AdSense, Quality, Metrics.

= 1.0.0 =
* First Rankolab release, built on the battle-tested engine that powers calcatools.com (4.x line).
* Zero-friction Rankolab Cloud onboarding (email-only connect, cloud AI proxy).
* Generic-site support: works on any WordPress site, any post types, any theme.
* Front-end renderer: title/meta/FAQ schema output + Rank Math / Yoast / AIOSEO sync + page-cache purging.
* Security: removed all bundled credentials; bring-your-own keys are stored in options only.
