=== onTheHammock AEO&SEO Optimizer ===
Contributors: onthehammock
Tags: seo, schema, json-ld, ai, sitemap
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.1.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Get cited by ChatGPT, Gemini, and Perplexity. Outputs JSON-LD structured data, SEO meta tags, OGP, XML sitemap, and FAQPage schema automatically.

== Description ==

**onTheHammock AEO&SEO Optimizer** is a WordPress SEO plugin built for the AI search era. It automatically outputs JSON-LD structured data, SEO meta tags, OGP, XML sitemap, and FAQPage schema — everything AI search engines like Google AI Overviews, ChatGPT, Gemini, and Perplexity need to discover, understand, and cite your content.

Traditional SEO focuses on ranking in Google Search. **AEO (Answer Engine Optimization)** and **GEO (Generative Engine Optimization)** focus on getting your content selected as a cited source by AI-powered search engines. This plugin handles both.

= Who is this for? =

* WordPress site owners who want to appear in Google AI Overviews
* Bloggers and publishers who want their content cited by ChatGPT and Perplexity
* Developers and agencies building SEO-optimized WordPress sites
* Anyone who wants structured data (JSON-LD) without writing code

= Free Features =

**Structured Data (JSON-LD / Schema.org)**

* `Article` schema with `author`, `publisher`, `datePublished`, `dateModified`, `speakable`
* `WebSite` schema with `SearchAction` (Sitelinks Searchbox)
* `Organization` / `Person` schema with `sameAs` for knowledge graph connections
* `BreadcrumbList` schema on all pages
* `FAQPage` schema — add Q&A per post; AI engines cite FAQ content with high frequency

**SEO Meta Tags**

* Title tag, meta description, canonical URL per post and page
* Open Graph (OGP) for Facebook / LinkedIn sharing
* Twitter Card for X (Twitter) sharing
* Conflict detection — automatically disables duplicate output when Yoast SEO, RankMath, All in One SEO, or SEOPress is active

**XML Sitemap**

* Auto-generated `/sitemap.xml` with image sitemap support
* Memory-safe pagination (500 posts per batch)

**AEO Score**

* Real-time AEO score for each post based on 4 pillars: Answer First, Originality, Structure, and E-E-A-T
* Helps you understand how AI-friendly your content is

**Publisher / E-E-A-T Settings**

* Set your organization or personal name, logo, and social profile URLs (X, LinkedIn, Wikidata)
* Outputs as `publisher` and `sameAs` in JSON-LD across all pages

= Four Pillars of AEO Optimization =

* **Answer First** — Place the conclusion at the top so AI can extract it instantly
* **Originality & Primary Sources** — Unique data and first-hand experience AI can reference
* **Structure & Readability** — Bullet points and numeric data for better AI parsing
* **Trustworthiness (E-E-A-T)** — Author expertise and information freshness signals

= ⚡ Pro Version Available =

**[onTheHammock AEO&SEO Optimizer Pro](https://onthehammock.com/aeoplugin/)** adds AI-powered automation on top of all free features.

**Pro features ($29/year):**

* **AI Auto-Fill** — AI reads your site and post content and auto-fills all 8 AEO fields. Supports Groq (free tier), OpenAI, Anthropic, and Mistral.
* **AEO Score** — 8-factor evaluation of how AI-friendly your content is, with real-time feedback per article.
* **Site-wide AEO Profile** — Generate a complete AEO profile for your entire site with one click.
* **Custom Template Reading** — Reads content from custom PHP page templates and page builders.
* **FAQ Auto-Generation** — Automatically generates FAQ content from your site's existing posts and headings.
* **SEO & OGP Preview** — Live preview of how your content appears in search results and social shares.
* **Gutenberg Sidebar Panel** — AEO settings directly in the block editor sidebar.

👉 **Download Pro & purchase license: [https://onthehammock.com/aeoplugin/](https://onthehammock.com/aeoplugin/)**

== Installation ==

1. Search for "onTheHammock AEO SEO Optimizer" in WordPress admin → Plugins → Add New, or upload the plugin folder manually.
2. Activate the plugin through the **Plugins** screen.
3. Go to **AEO&SEO Optimizer** in the admin sidebar.
4. Configure your publisher information (name, logo, social URLs) for E-E-A-T signals.
5. Edit any post or page to add AEO inputs, citation URLs, and FAQ entries.
6. Visit `yoursite.com/sitemap.xml` to verify the sitemap. If it returns 404, go to **Settings → Permalinks** and click **Save Changes**.

== Frequently Asked Questions ==

= What is AEO / GEO? =

AEO (Answer Engine Optimization) and GEO (Generative Engine Optimization) are practices for optimizing content so that AI-powered search engines — Google AI Overviews, ChatGPT search, Perplexity, Gemini — select your content as a cited source in their answers. This plugin automates the technical side of AEO/GEO for WordPress.

= How is this different from Yoast SEO or RankMath? =

Yoast SEO and RankMath focus primarily on traditional Google search ranking. This plugin focuses on AI search citation — structured data formats that AI engines use to understand and cite your content. When both plugins are installed, this plugin automatically detects the conflict and disables overlapping output (title, meta description, OGP), continuing to add FAQPage schema and AEO scoring that other plugins don't provide.

= Do I need technical knowledge to use this? =

No. Everything is configured through WordPress admin. JSON-LD structured data is output automatically with no coding required.

= Does this plugin slow down my site? =

No. All output is generated from cached WordPress options and post meta. There are no additional database queries on the front end beyond standard WordPress.

= What data does this plugin send externally? =

The free version sends no data to external services. Only the Pro version connects to AI providers (Groq, OpenAI, Anthropic, Mistral) when AI auto-fill is manually triggered.

= Where can I get the Pro version? =

Visit [https://onthehammock.com/aeoplugin/](https://onthehammock.com/aeoplugin/) for Pro features and pricing ($29/year).

== Screenshots ==

1. Site-wide AEO Settings screen with publisher E-E-A-T configuration.
2. Post editor meta box with AEO Score and structured inputs.
3. SEO and OGP preview panel.

== Changelog ==

= 1.1.0 =
* New architecture: class-based multi-file structure
* Added AEO Score (4-pillar, 8-factor evaluation)
* Added SEO/OGP meta tag output with conflict detection
* Added Gutenberg sidebar panel support
* Added Publisher E-E-A-T settings (name, logo, sameAs)
* Added per-post FAQ editor for FAQPage schema
* Added XML sitemap with image sitemap support
* Added Pro version promotion in admin settings
* Fixed inline style in class-diff.php
* Updated Tested up to: 7.0

= 1.8.1 =
* Security fixes: removed JSON_UNESCAPED_SLASHES, improved escaping
* Fixed shortcode naming conflict

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.1.0 =
Major update: new architecture with AEO Score, SEO meta tags, OGP, and Gutenberg sidebar. Recommended for all users.
