=== EZY.ai - AEO & AI SEO ===
Contributors: EZY.ai
Tags: seo, ai, schema, aeo, chatgpt
Requires at least: 5.7
Tested up to: 6.9
Stable tag: 1.2.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Prepare your WordPress site for the new era of AI-powered search. Auto-generate llms.txt, Schema, sitemaps, and track AI visibility.

== Description ==

The EZY.ai WordPress Plugin is one of the first fully-integrated WordPress plugins specifically for AEO (Answer Engine Optimization) & AI SEO.

**Once installed, this plugin allows you to:**

* **Auto-inject Schema and Meta Descriptions.**
* **Auto-configure and upload your `llms.txt`, `robots.txt`, and `sitemap.xml`.**
* **Auto-create and publish Blogs, FAQs, and Facts files.**
* **Track all your Prompts, Citations, and AI Agent visits.**
* **Track your visibility against Competitors and on Reddit.**
* **Offer all of the above to your customers if you are an Agency.**

== Why Choose EZY.ai? ==

* **Visual Simplicity:** One clean dashboard for everything. No complex text, just clear insights.
* **True Automation:** We don't just find problems; our "Site-Fixer" technology automatically solves them.
* **Complete Toolkit:** Comprehensive suite of AI visibility widgets and optimization tools.
* **Unbeatable Value:** Stop overpaying for manual audits. Get full enterprise automation for a fraction of the cost.

== Key Features ==

**1. Analytics & Tracking**
* **Prompt Tracking:** We track 5 prompts for your business (editable), including simulated answers for each.
* **Citation Tracking:** See exactly where you are cited (found/not found) for each prompt.
* **AI Agent Monitoring:** Track all AI bot visits to your website to see who is crawling you.
* **Competitor Analysis:** Monitor and track prompts your competitors appear for.
* **Reddit Detector:** Track your Reddit presence and mentions.
* **Visibility Score:** Get your proprietary EZY AI visibility score and track widgets over time.

**2. AI Readiness & Standards**
* **Generates and Optimizes `llms.txt`:** Create the new standard file for AI indexing automatically.
* **Generates and Optimizes `robots.txt`:** Balanced rules for SEO and AI crawlers.
* **Generates and Optimizes `sitemap.xml`:** Ensures AI agents can find your most important pages.
* **Generates and Optimizes `Facts.jsonld`:** Feeds direct facts to AI models.

**3. Structured Data & Schema**
* **Bulk Schema Injection:** Full Schema.org creation, optimization, and injection.
* **Entity Optimization:** Helps machines understand the context of your content.
* **Meta Description Automation:** Create, optimize, and inject Meta Descriptions.

**4. Content & Authority**
* **AI-Assisted Blogs:** Auto-create and publish optimized blog posts.
* **FAQ Page Creation:** Automatically generates a dedicated FAQ page.
* **Authority Scanner:** See which pages have high authority related to your specific topics.
* **Submission Tools:** Submit directly to Google Search Console (GSC) and Bing Webmaster Tools (BWT).

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ezy-ai-plugin` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **the "EZY AI" tab** in the admin menu to connect your account.
4. Follow the connection wizard to link your WordPress site to your EZY.ai account.

== Frequently Asked Questions ==

= Do I need coding knowledge? =
No. The plugin handles all technical optimizations automatically once connected.

= What AI models does this support? =
The plugin optimizes your site for ChatGPT, Claude, Google Gemini (SGE), Perplexity, and other major AI search engines.

= Is there a free version? =
**The plugin itself is free to download, but it requires a connection to the EZY.ai platform to function.** Please visit https://ezy.ai for pricing information.

= Does this replace my existing SEO plugin? =
No, EZY.ai is designed to work alongside traditional SEO plugins (like Yoast or RankMath). While they focus on Google Search, we focus specifically on Answer Engines and Large Language Models (LLMs).

= Can I use this for my clients? =
Yes. If you are an agency, you can use the EZY.ai plugin to provide AI SEO and AEO services to your customer base.

== Screenshots ==

1. **EZY.ai Dashboard - Visual Simplicity**
2. **AI Visibility Analytics & Visibility Score**
3. **Structured Data & Schema Settings**

Please visit https://ezy.ai for pricing information.

== Changelog ==

= 1.2.1 =
* Fix: Blog posts are now properly cleaned up when disconnecting from WP admin or EZY.AI dashboard
* Fix: Content Sync "Upload" now updates the Integration Completeness score dial in WP admin
* Fix: Content Sync "Upload" now purges page caches (WP Rocket, LiteSpeed, W3TC, etc.) after syncing
* Fix: Blog listing template cache (24hr transient) now invalidated on blog update, delete, and clear
* New: Plugin now notifies EZY.AI backend when disconnected from WP admin (backend reflects accurate status)
* New: Disconnect notification retries automatically if backend was unreachable at disconnect time
* New: Plugin auto-detects when integration is deleted on EZY.AI and cleans up content after confirmation
* New: Plugin uninstall now notifies EZY.AI backend before removing data
* Fix: Uninstall hook now properly includes blog class to prevent fatal error during cleanup

= 1.2.0 =
* Fix: WP-admin schema and meta re-upload now validates payloads before applying so false-success uploads are prevented
* Fix: Schema/meta sync parity improved so WP-admin sync uses the same normalized data shape as dashboard uploads
* Fix: Content Sync status for schema/meta now reflects valid generated payload availability, not timestamp-only signals

= 1.1.9 =
* Fix: Refresh button spin animation now scoped to icon only, preventing layout shift on click
* Fix: Blog content sync now preserves inline `<style>` blocks stripped by wp_kses
* New: Schema.org ld+json script tags now include a `data-ezy-ai="schema"` attribute for easier identification
* Fix: Content Sync panel feature count updated to 9

= 1.1.8 =
* Fix: FAQs sync now works when FAQs are generated but not yet uploaded from the dashboard
* Fix: Facts sync reliability improved with better widget data fallback
* Fix: Content Sync panel now correctly shows "Uploaded" status after syncing and refreshing
* New: Refresh button on Content Sync panel to check latest status without reloading the page
* Fix: Blog posts detection now checks generated blogs in addition to uploaded blogs

= 1.1.7 =
* New: Content Sync panel — upload generated content (robots.txt, llms.txt, schemas, etc.) directly from the WordPress admin
* New: Automatic widget re-analysis after uploading content from the plugin
* New: Plugin now detects generated content on EZY.AI even before uploading
* New: Blog posts sync support
* Fix: Improved content availability detection using widget data fallback

= 1.1.6 =
* Fix: Improved webhook authentication reliability on LiteSpeed, Nginx, and restrictive hosting environments
* Fix: Added fallback authentication header for servers that strip the standard Authorization header

= 1.1.5 =
* Fix: CSS loading compatibility with WordPress 6.9
* Fix: Disconnect redirect reliability
* Fix: Coding standards improvements for plugin submission

= 1.1.4 =
* Fix: CSS loading compatibility with WordPress 6.9
* Fix: Disconnect redirect reliability
* Fix: Coding standards improvements for plugin submission

= 1.1.2 =
* Fix: Minor overall enhancements

= 1.1.1 =
* Minor overall enhancements

= 1.1.0 =
* Minor overall enhancements

= 1.0.0 =
* Initial release
* AI bot tracking
* Prompt tracking
* Visibility score tracking
* Structured data generation
* facts.jsonld generation
* robots.txt and llms.txt optimization
* Sitemap improvements
* Blog metadata fixes
* Competitor tracking
* Reddit presence tracking

== Upgrade Notice ==

= 1.1.9 =
Bug fixes for blog content sync, schema markup identification, and UI refresh animation.

= 1.0.0 =
Initial release of EZY.ai WordPress plugin.

== External Services ==

This plugin connects to the EZY.ai API to provide AI-powered SEO and AEO features.

**EZY.ai Search Intelligence Platform**

* **Service:** EZY.ai API (https://api.ezy.ai/api/wordpress-plugin)
* **Used for:** Analyzing website content, generating SEO recommendations, schema markup, blog posts, tracking AI agent visits, and managing SEO files (robots.txt, llms.txt, sitemap.xml, facts.jsonld).
* **Data Sent:** Website URL, authentication credentials, and (with consent) visit data including user agent and IP address. The plugin sends data to the following API endpoints:
  * `/auth/initiate` - Initial connection setup
  * `/auth/exchange` - Authentication token exchange
  * `/verify` - Connection verification
  * `/health` - Service health checks
  * `/track` - AI agent visit tracking
  * `/schemas` - Schema.org markup management
  * `/blog/{slug}` - Blog content retrieval
  * `/integrations/{id}/*` - Integration-specific data (analytics, stats, file uploads)
  * `/robots-txt`, `/llms-txt`, `/sitemap-xml`, `/facts-json` - SEO file management
  * `/content-status` - Content availability checks
  * `/trigger-refetch` - Widget re-analysis after content sync
* **Provider:** This service is provided by EZY.ai.
* **Legal:** [Terms of Service](https://ezy.ai/terms), [Privacy Policy](https://ezy.ai/privacy)

No third-party services are used without your explicit connection and consent.
