=== IndexScope SEO ===
Contributors: indexscope
Tags: seo, schema, audit, redirects, sitemap
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Stable tag: 0.8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Site-wide SEO audit, meta tags, schema markup, redirects, and Search Console integration.

== Description ==

**IndexScope SEO** helps you see every head tag before Google does.

= Free =

* **IndexScope Center** – site-wide score, expandable URL table with all index tags
* Meta box + **Gutenberg sidebar** for title, description, focus keyword, robots
* JSON-LD schema (Organization, LocalBusiness via filters, Product, FAQ, breadcrumbs)
* XML sitemap tuning
* Intelligent meta suggestions
* **25 redirects** (301/302)
* HTML GSC/Bing verification tags
* **Google Search Console OAuth (basic)** – 7 days, top 10 queries, sitemap status in Center

* **Schema builder** – FAQ, HowTo, Service per stránka (metabox + Gutenberg)
* **IndexNow** – ping Bing po publikaci / aktualizaci
* **Link Scope** – mapa interních odkazů, sirotci, příležitosti k prolinkování (celý web)
* **IndexScope Media** – upload policy (max. rozměr), méně zbytečných variant, auto alt texty, hromadná oprava
* **404 Monitor** – log neexistujících URL + redirect jedním klikem
* **llms.txt** – mapa webu pro AI crawlery
* Setup wizard (audit-first onboarding)

* **Search preview** (SERP) v editoru a metaboxu
* **robots.txt** editor v Settings
* **Import** Yoast / Rank Math meta (tlačítko)
* **Bulk akce** v Center – IndexNow ping, export CSV, filtr sirotci

= Pro =

* Unlimited redirects
* **GSC extended analytics** – 28 days, 50 top queries
* **AI meta suggestions** (OpenAI BYOK)
* **Media bulk fix** – vyšší limit hromadné opravy alt textů

== Installation ==

1. Upload `indexscope-seo` to `/wp-content/plugins/`
2. Activate the plugin
3. Open **IndexScope** in the admin menu
4. Review **Compatibility scan** in Center (auto-runs daily; disables conflicting frontend output in Auto mode)
5. Optional: **Settings** → GSC OAuth or Pro license

== Screenshots ==

1. IndexScope Center – site score and URL audit table with index tags
2. Gutenberg sidebar with SERP preview
3. Settings – GSC OAuth and Pro license
4. Redirect manager with 404 monitor
5. Link Scope – internal links, orphans, and linking opportunities

== Frequently Asked Questions ==

= Does it replace Yoast or Rank Math? =

IndexScope is meant to **replace** another SEO plugin on the frontend. It migrates Yoast meta on first run; Rank Math meta and redirects can be imported manually. **Do not run two SEO plugins together** — duplicate title, meta, schema, and sitemaps confuse search engines. See the compatibility guide on indexscope.io/docs/kompatibilita.

= How do I connect Search Console? =

Create OAuth credentials in Google Cloud Console, add redirect URI from Settings, save Client ID/Secret, then click Connect.

= How do I enable AI meta suggestions? =

Requires IndexScope Pro and your own OpenAI API key (BYOK). Step-by-step guide: https://indexscope.io/docs/ai-meta — create key at platform.openai.com/api-keys, add billing, paste key in IndexScope Settings.

== Changelog ==

= 0.8.0 =
* **IndexScope Media** – upload max dimension, skip oversized WP sizes, auto alt on upload, bulk alt fix, admin page + Center teaser
* Filters: `indexscope_media_max_dimension`, `indexscope_media_keep_sizes`, `indexscope_media_build_alt`, `indexscope_media_enabled`
* Pro: extended bulk alt fix limit (`media_bulk_extended`)

= 0.7.2 =
* Admin menu slug `indexscope-center` (+ redirect ze starého `ef-seo-center`)
* Offline grace period Pro licence (7 dní po poslední validaci)
* Portfolio CPT přes filtr `indexscope_portfolio_post_types`
* Author IndexScope

= 0.7.1 =
* WP.org readiness: LICENSE, index.php guards, release ZIP script, banner/icon/screenshots, .pot
* Security: AI AJAX hook, REST meta auth per-post, regex length limit, SSL verify on production compat scan
* Generic cleanup: audit post types via filter, project SEO via filters, removed rank tracking stub
* Dev Pro key restricted to local/development + WP_DEBUG only
* Extended uninstall cleanup

= 0.7.0 =
* Generic WP.org cleanup – EF-specific schema/sitemap moved to theme bridge filters
* GSC basic analytics in Free (7 days, 10 queries); Pro extended (28 days, 50 queries)
* Schema graph filter `indexscope_schema_graph` + optional site extensions module
* Compatibility scan — detects SEO/redirect plugins, live homepage duplicates, sitemap conflicts
* Compatibility mode (Auto / Audit only / Full) with per-module output toggles
* Pro: regex redirects, audit report export (HTML → PDF)

= 0.6.0 =
* SERP preview v Gutenberg sidebaru a metaboxu
* robots.txt editor + import Yoast/Rank Math UI
* Bulk IndexNow, CSV export a filtr sirotci v Center

= 0.5.0 =
* Schema builder – FAQPage, HowTo, Service per stránka
* IndexNow ping po publikaci (Bing + api.indexnow.org)
* Gutenberg: výběr schema typu + Link Scope panel

= 0.4.0 =
* Link Scope – interní prolinkování napříč webem, sirotci, Gutenberg panel
* 404 Monitor v Redirects
* llms.txt generátor
* Setup wizard (audit-first, ne meta-box onboarding)
* Varování sirotčích URL v auditu

= 0.3.0 =
* GSC OAuth API + dashboard panel (queries, sitemaps)
* IndexScope Pro (license, unlimited redirects, AI BYOK)
* Generic schema config via filters
* uninstall.php + data deletion option
* WP.org readme preparation

= 0.2.0 =
* Config system with filters
* Redirect manager + Rank Math import
* Gutenberg sidebar
* EF site bridge

= 0.1.0 =
* Initial extraction from Exclusive Floors theme

== External services ==

This plugin optionally connects to third-party services when you enable them:

* **Google Search Console** (OAuth) – read-only search analytics and sitemaps. Data stays in your WordPress admin. [Google Privacy Policy](https://policies.google.com/privacy)
* **OpenAI** (Pro, optional BYOK) – AI title/description suggestions. Your API key is stored in site options. [OpenAI Privacy Policy](https://openai.com/policies/privacy-policy)
* **IndexNow** – notifies Bing and partners when URLs change. [IndexNow](https://www.indexnow.org/)
* **indexscope.io** (Pro license) – validates license key and site URL. No page content is sent.

== Privacy ==

IndexScope stores SEO meta in post/term meta and plugin options on your server. License validation sends only `license_key` and `site_url` to indexscope.io. See Settings to disconnect GSC OAuth or remove your license.

== Upgrade Notice ==

= 0.7.1 =
GSC basic analytics is now free. Pro unlocks extended history and more queries.

= 0.3.0 =
GSC OAuth and Pro features. Configure in IndexScope → Settings.
