=== BlogSEO ===
Contributors: blogseo, baballevincent
Tags: seo, ai, blog, content, backlinks
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish AI-generated articles from BlogSEO to your WordPress site.

== Description ==

https://www.youtube.com/watch?v=rdkN6jCBxYg

**BlogSEO** connects your WordPress site to [BlogSEO](https://blogseo.io), an AI-powered SEO platform that researches keywords, generates ranking-ready articles, builds backlinks, and publishes content to your blog on autopilot.

= Features =

* **One-click pairing** — connect from your BlogSEO dashboard without copying API keys.
* **Auto-publish or manual** — articles appear on your site as live posts or drafts for review, your choice.
* **Featured and inline images** — downloaded into your WordPress media library, no hotlinking.
* **SEO meta filled in** — meta title, description, focus keyword, OG/Twitter, and schema for Yoast, Rank Math, All in One SEO, SEOPress, and Squirrly.
* **Works on locked-down hosts** — Hostinger, Wordfence, Really Simple Security, Patchstack, and firewalled environments where Application Passwords break.
* **Lightweight** — no front-end scripts, no database tables, no admin nags.

= How it works =

1. Install and activate this plugin.
2. Open **Settings → BlogSEO** and click **Connect to BlogSEO**.
3. Confirm the pairing in your BlogSEO dashboard — you'll be redirected back automatically.
4. Articles generated in BlogSEO start publishing to your site based on your dashboard settings.

= Requirements =

* WordPress 5.6 or higher
* PHP 7.4 or higher
* A BlogSEO account ([sign up at blogseo.io](https://blogseo.io))

= Privacy =

This plugin communicates with the BlogSEO service to receive article content for publishing. It sends only operational data — your site URL, plugin/WordPress/PHP versions, and the list of categories, tags, and post types you've configured (only when those change). It does **not** send post content, user data, or analytics.

By installing this plugin and connecting it to your BlogSEO account, you agree to BlogSEO's [Terms of Service](https://www.blogseo.io/tos).

== Installation ==

= Recommended (one-click pairing) =

1. In your BlogSEO dashboard, go to **Integrations → WordPress** and choose **Connect via BlogSEO Plugin**.
2. Download the plugin zip from the dashboard, then upload it via **Plugins → Add New → Upload Plugin** and activate it.
3. The plugin's setup screen will appear under **Settings → BlogSEO**. Click **Connect to BlogSEO**.
4. You'll be redirected to the BlogSEO dashboard once to confirm the pairing, then back to your site. The connection is now active.

== Frequently Asked Questions ==

= Do I need a BlogSEO account? =

Yes. This plugin is the WordPress connector for the BlogSEO platform. [Sign up at blogseo.io](https://blogseo.io).

= Is my API key secure? =

Yes. The key is hashed (SHA-256) before storage and verified with timing-safe comparison. The plugin never logs it, never displays it back in the admin UI, and never sends it to a third party.

= Can I review articles before publishing? =

Yes. In your BlogSEO dashboard you can set articles to publish as drafts so you can review and edit them in WordPress before going live.

= What SEO plugins are supported? =

Yoast, Rank Math, All in One SEO, SEOPress, and Squirrly. The plugin automatically writes meta title, meta description, focus keyword, OG/Twitter cards, and schema for whichever you have active.

= Does this plugin work with page builders? =

Yes. The plugin publishes standard WordPress posts that work with any theme or page builder.

= How do I uninstall? =

Deactivate from **Plugins → Installed Plugins**. To remove all stored options, choose **Delete** from the plugin row — the uninstall hook clears every `blogseo_*` option the plugin sets.

== External services ==

This plugin connects to the BlogSEO API (`https://app.blogseo.io`) to authenticate the connection and receive article content generated in your BlogSEO account, so it can be published to your WordPress site.

The plugin sends the following data to BlogSEO:

* During the initial pairing: a one-time pairing token and your site URL, to establish the connection.
* On every connection check (~once every 30 minutes): your site URL, WordPress version, PHP version, and the plugin version, to confirm the connection is alive.
* When you add or remove categories, tags, or post types on your WordPress site: the updated list, so the BlogSEO dashboard knows which targets are available.
* When BlogSEO can't reach your site directly (firewalled host): a pull request asking BlogSEO for any queued articles, followed by a short confirmation (`wp_post_id`, `wp_post_link`, or error message) once each one is published locally.

The plugin does not send post content, user data, comments, or analytics. There is no third-party tracking.

This service is provided by BlogSEO, Inc.: [Terms of Service](https://www.blogseo.io/tos), [Privacy Policy](https://www.blogseo.io/privacy).