=== WordPress-SEO Connect ===
Contributors: autoseo
Tags: seo, content, articles, automation, ai
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to WordPress-SEO in two clicks so your weekly SEO articles publish automatically. No passwords shared.

== Description ==

WordPress-SEO (https://wordpress-seo.co.uk) researches, writes and publishes a question-led SEO article to your website every week, builds links to it, and shows you rankings, AI visibility and a Google heat map in one dashboard.

This plugin is the connector. Install it, click **Connect to WordPress-SEO**, approve the site in your WordPress-SEO account, and every approved article publishes here automatically with its featured image, category and meta description (Yoast, Rank Math and All in One SEO supported). Images are copied into your media library; nothing hotlinks.

* No application passwords, no shared logins: the plugin uses its own token-secured endpoint that only WordPress-SEO can call, and you can disconnect at any time.
* Daily health check so WordPress-SEO knows immediately if publishing stops working.
* Idempotent publishing: an article is never duplicated if it is sent twice.
* A small dashboard widget showing how many WordPress-SEO articles are live.

You need a WordPress-SEO account. New customers can start with a £1 trial for 7 days: 3 SEO articles plus a free website audit worth £49.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install it from Plugins → Add New.
2. Activate it.
3. Go to Settings → WordPress-SEO Connect and click **Connect to WordPress-SEO**.
4. Sign in to your WordPress-SEO account and click **Approve**. Done.

== Frequently Asked Questions ==

= Does WordPress-SEO get my WordPress password? =
No. The plugin creates a random token that only allows creating and updating posts through its own endpoint. You can regenerate it by disconnecting.

= What if my security plugin blocks the REST API? =
Allow requests to `/wp-json/autoseo/v1/` from the WordPress-SEO server (198.38.92.6). The settings page tells you if the REST API looks blocked.

= Can I edit the articles? =
Yes. They are normal posts. Edit, reschedule or delete them like any other post.

== Changelog ==

= 1.2.0 =
* Serves /llms.txt (llmstxt.org) built from your site name, tagline, key pages and the articles published here, so AI search engines can read a plain-text summary of your site. Toggle in Settings > WordPress-SEO Connect (on by default).
* Article and FAQ structured data now arrives from WordPress-SEO as its own field, built at publish time with the final URL, dates and image. Article is left to Yoast SEO / Rank Math when active; FAQPage is always printed.

= 1.1.0 =
* Article schema (Article, FAQ and breadcrumb structured data) is now kept and added to the page head, so WordPress no longer strips it out.
* Works for articles published with the plugin and with an Application Password.
* Skips its own Article and breadcrumb markup when Yoast or Rank Math already provide them, so nothing is duplicated.
* Plugin updates now appear in your WordPress dashboard.

= 1.0.0 =
* First release: connect flow, publish endpoint, featured images, categories, SEO meta, daily health ping, dashboard widget.
