﻿=== SEO Auto Pilot ===
Contributors: ahmadjadoon
Tags: seo, ai, content, automation, article-publishing
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-powered SEO article autopilot: 9 AI providers write articles, Pexels images, Rank Math & Yoast auto-fill, Google + Bing instant indexing.

== Description ==

**SEO Auto Pilot** turns your WordPress site into an automated SEO content machine. Set your keywords, choose an AI provider, and the plugin writes, formats, and publishes complete SEO-optimized articles on autopilot — including images, meta tags, and instant search engine indexing.

= Core Features =

* **9 AI Providers** — Claude AI, Groq, Google Gemini, OpenRouter, Cerebras, SambaNova, Together AI, DeepSeek, Cohere — switch with one click, no page reload
* **Automated Publishing** — schedule articles daily at a time you choose; plugin writes and publishes hands-free
* **Pexels Image Integration** — automatically attaches a relevant royalty-free featured image from Pexels for every article
* **Yoast SEO & Rank Math Support** — auto-fills focus keyword, meta description, and SEO title fields
* **Google & Bing Indexing** — submits each new article to Google Search Console and IndexNow (Bing) the moment it is published
* **AEO / GEO Optimization** — articles include structured FAQ sections optimized for AI search engines (ChatGPT, Perplexity, Google SGE)
* **Domain Authority Metrics** — view DA, DR, spam score, and backlink count for your site in the dashboard
* **One-Click Run** — publish an article right now without waiting for the scheduler
* **4-Tier License System** — Starter (free, 10 runs), Personal, Business, Agency plans

= Supported AI Providers =

* **Claude AI (Anthropic)** — highest quality, human-level writing (paid API)
* **Groq** — 6,000 requests/day free, very fast, works worldwide
* **Google Gemini** — 1,500 requests/day free
* **OpenRouter** — variety of free models
* **Cerebras** — ultra-fast inference, free tier
* **SambaNova** — high-performance, free tier
* **Together AI** — open-source models, free tier
* **DeepSeek** — cost-effective, free tier
* **Cohere** — good for SEO writing, free tier

= External Services Used =

This plugin connects to the following third-party services. Data is only sent when you actively use that feature.

**AI Providers (article generation):**
Your article keyword/topic is sent to the AI provider API you have activated. See each provider's terms:
* Anthropic (Claude): https://www.anthropic.com/legal/privacy | https://www.anthropic.com/legal/aup
* Groq: https://groq.com/privacy-policy/ | https://groq.com/terms-of-service/
* Google (Gemini): https://policies.google.com/privacy | https://ai.google.dev/terms
* OpenRouter: https://openrouter.ai/privacy
* Cerebras: https://cerebras.ai/privacy-policy
* SambaNova: https://sambanova.ai/privacy-policy
* Together AI: https://www.together.ai/privacy
* DeepSeek: https://www.deepseek.com/privacy
* Cohere: https://cohere.com/privacy

**Pexels (featured images):**
Your article keyword is sent as a search query to retrieve a royalty-free image.
https://www.pexels.com/terms-of-service/ | https://www.pexels.com/privacy-policy/

**Google Search Console Indexing API:**
The URL of each newly published article is sent to request instant indexing.
https://developers.google.com/terms | https://policies.google.com/privacy

**IndexNow (Bing):**
The URL of each newly published article is sent to notify Bing and other search engines.
https://www.indexnow.org/documentation

**Open PageRank API (optional, dashboard metrics):**
Your domain name is sent to retrieve a PageRank score. Only active if you enter an API key.
https://www.openpagerank.com/terms/

**License validation (plugnest.space):**
Your license key and current site domain are sent to plugnest.space to validate your license and enforce plan limits. No browsing data, content, or personal information beyond the license key and domain name is transmitted. Only applies to paid plan users — Starter (free) plan does not contact the license server.

== Installation ==

1. Upload the `seo-auto-pilot` folder to the `/wp-content/plugins/` directory, or install directly through Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Go to **SEO Auto Pilot** in the WordPress admin menu.
4. Open the **AI Models** tab. Enter an API key for your preferred AI provider and click **Activate**.
5. Open **Settings** and enter your Pexels API key (free at pexels.com/api). Configure your publishing schedule.
6. Add keywords in the **Keywords** tab.
7. The plugin will publish articles automatically on your set schedule. Use **Run Now** to publish immediately.

== Frequently Asked Questions ==

= Is this plugin free? =

The plugin itself is GPL-licensed and free. It requires API keys from external services (AI provider, Pexels). Most AI providers offer free tiers. The plugin's own Starter license (10 article runs) is free. Paid licenses unlock higher limits and more sites.

= Which AI provider gives the best articles? =

Claude AI (Anthropic) produces the most human-like writing. Groq with Llama 3.3 70B is the best free option and works in all countries.

= Does it work with Yoast SEO and Rank Math? =

Yes. The plugin automatically fills the focus keyword, SEO title, and meta description in both Yoast SEO and Rank Math when it publishes an article.

= Can it publish articles automatically every day? =

Yes. Set your preferred publish time in Settings. A WordPress cron job publishes articles at that time, without any manual action.

= Does the plugin add links to my articles? =

No. The plugin does not insert any external links, affiliate links, or "powered by" notices into your articles or anywhere on your site's frontend.

= Does it work without an AI API key? =

No. You must enter at least one valid AI provider API key to generate articles.

= What happens if the API is unavailable or fails? =

The plugin logs the error and skips that run. It will try again at the next scheduled interval.

== Screenshots ==

1. Dashboard — live domain metrics (DA, DR, spam score, backlinks)
2. AI Models tab — 9 providers, 1-click activation
3. Keywords tab — article topic queue
4. Settings tab — configure schedule, word count, tone, language
5. License tab — activate license key and view domain usage

== Changelog ==

= 1.2.1 =
* Keyword Finder upgraded — real Popularity signal (from Google Autocomplete ranking), richer intent detection, snippet-worthiness, choose which variations to include, sort/filter by popularity, opportunity, words, exclude terms, select top 25, and copy/CSV export

= 1.2.0 =
* New Keyword Finder in the Keywords tab — discover real related searches, questions and long-tail keywords from Google, filter by intent, and add them straight to your queue (free, no fake volume numbers)

= 1.1.1 =
* Contact / Get In Touch form now accepts an optional screenshot upload (max 5 MB) and reliably emails your message + screenshot to support

= 1.1.0 =
* Removed the old duplicate "Reliable Scheduling — Hostinger Setup" card from Settings — the animated WP-Cron method card in the right rail already covers it

= 1.0.9 =
* Fixed other plugins' admin notices (e.g. LiteSpeed "cache purged") overlapping the SEO Auto Pilot header — they now dock neatly below it

= 1.0.8 =
* Moved "Custom AI Prompt" to the Dashboard as an animated card with a full plain-English explanation of what it does, plus a one-click "Reset to Default" button

= 1.0.7 =
* New "Duplicate Posts" card in Analytics & Usage — spots posts published with the same keyword, title, or meta description, with one-click removal so no duplicate content goes out
* New "Customize with AI" — describe how you want the dashboard to look and behave in plain words, and Aleena restyles the accent color, light/dark mode, and corners, and adjusts your writing settings

= 1.0.6 =
* Fixed HTTP 504 timeout when using Run Now on LiteSpeed/Nginx hosts — articles now generate in the background and the page polls for the result, so the request never times out

= 1.0.5 =
* Cohere (writing) and Pexels (images) API keys now pre-enabled on install — publish with zero setup, switch to your own keys anytime
* Meet Aleena — a built-in AI assistant on the plugin dashboard that knows SEO Auto Pilot and PlugNest inside out
* Added an on/off switch to the Traffic-Triggered auto-publish card
* Animated auto-publish method cards in Settings (Traffic-Triggered + WP-Cron)

= 1.0.4 =
* Cron-free publishing — articles now publish reliably without WP-Cron or any server/hosting-panel access
* Manual "Run Now" generates each article synchronously (no more "Job timed out / WP Cron may be disabled" errors)
* Automatic daily publishing is driven by normal site traffic, after the page is served, so visitors never wait
* Large daily batches finish across page loads, with safe locking to prevent duplicate publishing

= 1.0.0 =
* Initial release
* 9 AI providers: Claude AI (Anthropic), Groq, Gemini, OpenRouter, Cerebras, SambaNova, Together AI, DeepSeek, Cohere
* Automated scheduling with WordPress cron
* Pexels featured image integration
* Yoast SEO and Rank Math meta field auto-fill
* Google Indexing API and IndexNow (Bing) submission
* Domain authority metrics dashboard (DA, DR, spam score, backlinks)
* AEO/GEO optimized article structure with FAQ sections
* 4-tier license system: Starter (free), Personal, Business, Agency

== Upgrade Notice ==

= 1.0.0 =
Initial release.


