=== SEO Forge ===
Contributors: avakode
Donate link: https://avakode.com
Tags: seo, schema, sitemap, meta-tags, serp-preview
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.27
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

SEO score, meta, schema and sitemap for WordPress: meta box, SERP preview, robots.txt, redirects, image SEO. A Yoast alternative.

== Description ==

**SEO Forge** is a modern SEO plugin built around a single insight: an SEO score is only useful if it tells you exactly what to do next. The post-edit metabox gives you a 0-100 SEO score, a SERP preview, focus-keyword analysis, and an editable meta title / description / schema — all from one screen, with no account or API key required.

Everything in the Free plugin runs locally on your site: schema markup, XML sitemap, robots.txt, the redirect + 404 manager, image SEO (auto alt text), local business schema, and video schema. The optional **Pro add-on** layers AI on top — one-click AI meta generation, content optimization, and schema detection — plus Google Search Console, Site Audit, A/B testing and auto internal links.

= Free =
* On-page SEO score (0-100) per post
* SERP preview (Google desktop + mobile)
* Focus keyword analysis
* XML sitemap (hreflang-aware if Lang Forge is active)
* robots.txt editor
* Basic schema markup (Article, BlogPosting)
* Noindex / nofollow per post
* Coexists with Yoast / Rank Math / AIOSEO / SEOPress during migration

= Pro =
* AI meta generation (title, description, focus keyword)
* AI content expansion / simplification / external-link suggestions
* Redirect manager (301, 302, 410) with 404 log
* Google Search Console integration (rankings, indexing requests)
* Site audit (technical SEO crawler)
* A/B testing for titles + descriptions
* Local Business schema generator
* Broken-link scanner (SSRF-pinned for safety)
* Advanced schema (Product, Event, FAQ, HowTo)

Part of the **Forge Suite** — bundle includes Lang Forge, Form Forge, Field Forge.

== Installation ==

1. Upload `seoforge` to `/wp-content/plugins/`, or install via Plugins → Add New.
2. Activate the plugin.
3. Open any post / page — the SEO Forge metabox appears below the editor.
4. (Optional) Connect to Avakode for Pro features at **SEO Forge → Connect**.

== Frequently Asked Questions ==

= Will SEO Forge conflict with Yoast or Rank Math? =

No. SEO Forge detects the active SEO plugin and suppresses its own meta output until you fully migrate. Use **SEO Forge → Migration** when ready.

= Does the SEO score use AI? =

The score itself is deterministic (keyword density, readability, internal links, image alt, etc.). AI is only used for generation actions (meta, schema, content expansion) when you click "Generate with AI".

= How are redirects stored? =

In a custom table (`wp_seoforge_redirects`) — not in `wp_options` like some plugins. This avoids the autoload-bloat that hurts your TTFB.

== Screenshots ==

1. SEO metabox on post edit (score, SERP preview, focus keyword)
2. Today's focus dashboard
3. Redirects manager (Pro)
4. Site audit report (Pro)
5. Schema markup generator

== Changelog ==

= 1.0.27 =
* Fix: SEO Forge admin sub-pages (Settings, Analytics, Content and Tools) now stay accessible when other Forge plugins are active alongside SEO Forge Pro.

= 1.0.26 =
* Security: the Google Account connection (Search Console / Analytics) now starts via a one-time token, so the license key is never placed in a URL.

= 1.0.25 =
* WordPress.org compliance and licensing hardening.
* Pro entitlement is now resolved by the SEO Forge Pro add-on; the free plugin bundles no licensing SDK.
* Removed a deprecated Google sitemap-ping request fired on publish.
* readme metadata cleanup.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.25 =
Licensing and WordPress.org compliance improvements.

= 1.0.0 =
Initial release.
