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

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

== Description ==

Auto-SEO (https://auto-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 Auto-SEO**, approve the site in your Auto-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 Auto-SEO can call, and you can disconnect at any time.
* Daily health check so Auto-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 Auto-SEO articles are live.
* Site changes on request: Auto-SEO can add or update a page, rename, hide or add menu items, and switch on a contact form or a first-visit welcome popup, so small changes you ask for need no WordPress login. Every change is listed in Settings > Auto-SEO Connect > Change log with an Undo button, and you can switch site changes off at any time.
* Backups you can restore: a quick snapshot (database, settings, active theme) or a full backup (plus every plugin, theme, upload and language file) is built in short steps so it finishes on shared hosting, sent to Auto-SEO in signed chunks and stored encrypted for 30 days. A quick snapshot is taken automatically before any site change Auto-SEO makes. Restoring puts the site back exactly as it was; it always needs an administrator's approval under Settings > Auto-SEO Connect > Backups, shows a dry run first, and takes a fresh snapshot before it starts so it can itself be undone.

You need an Auto-SEO account. New customers can start with a free 7-day trial, no card needed: the first article written and published to your site free.

== Installation ==

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

== Frequently Asked Questions ==

= Does Auto-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 Auto-SEO server (198.38.92.6). The settings page tells you if the REST API looks blocked.

= What can Auto-SEO change on my site? =
Only what the plugin allows, and only when you ask: posts it publishes, pages, menu labels (shown differently, your menus themselves are not edited), a contact form, a welcome popup, and your site title and tagline. It cannot install code, upload files, change users or passwords, or read other settings. Every change is logged with an Undo button, and you can switch site changes off under Settings > Auto-SEO Connect.

= What is in a backup, and where does it go? =
A quick snapshot holds every database table with your site's prefix (schema and rows; transients and log, session and cache tables are skipped), your settings, the active theme and its parent when they are small, must-use plugins and a reference copy of .htaccess. A full backup adds everything under wp-content (themes, plugins, uploads, languages) except caches, other backup folders, node_modules and files over 50 MB. wp-config.php, salts, database credentials and WordPress core are never included. Backups are compressed, sent over HTTPS in signed chunks and kept encrypted (AES-256-GCM) on Auto-SEO's own server, outside the web root, for 30 days, then deleted automatically. You can delete any backup earlier from the Backups screen, and switch backups off entirely.

= Does a backup contain personal data? =
Yes: a copy of your database includes whatever personal data your site holds (users, comments, customer and enquiry records). It is stored encrypted, kept for 30 days at most, deleted on request, and used only to restore your site when you approve a restore. If you do not want Auto-SEO to hold backups, untick "Allow Auto-SEO to take backups" under Settings > Auto-SEO Connect > Backups.

= Can Auto-SEO restore my site without asking? =
No. A restore request only creates a pending request. An administrator must open Settings > Auto-SEO Connect > Backups, read the dry run and click Approve restore. Before anything changes, a fresh snapshot of the current site is taken, so the restore can be undone.

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

== Changelog ==

= 1.6.2 =
* A simpler, clearer settings card for website updates by your Auto-SEO team. It works exactly as before and you can still turn it off or on under Settings > Auto-SEO Connect.
* The notice listing recent changes no longer appears across wp-admin. Every change is still listed, with Undo, under Settings > Auto-SEO Connect > Change log.
* Fix: saving the automatic-updates tick box no longer turns website updates off.

= 1.6.1 =
* With Rank Math, new articles now appear in the sitemap index straight away: Rank Math's sitemap cache is cleared after Auto-SEO publishes or changes something, just as it is after a save in wp-admin.

= 1.6.0 =
* Articles can arrive as a draft (or pending review) for you to publish yourself, when you choose that in your Auto-SEO dashboard. A post that is already live is never turned back into a draft.
* Articles are stored as proper editable blocks (paragraphs, headings, lists, images, tables, quotes), so you can restyle them in the block editor like any other post.
* SEO title, focus key phrase and meta description are filled in for Yoast SEO, Rank Math or All in One SEO. Fields you have edited on an existing post are left alone.
* Reports which SEO plugin is active and whether a post is still a draft or live, so your dashboard stays in step with the site.
* Recent articles log under Settings > Auto-SEO Connect.

= 1.5.1 =
* Website updates by your Auto-SEO team are on by default (turn them off any time under Settings > Auto-SEO Connect; a site that was turned off stays off).

= 1.5.0 =
* Website updates by your Auto-SEO team (on by default from 1.5.1; the switch is under Settings > Auto-SEO Connect): Auto-SEO can now do the website jobs you ask for without a login. Edit any page or post in place, including ones built with Elementor, Divi, WPBakery or Beaver Builder, keeping your maps, forms and shortcodes exactly as they are. Update settings of other plugins (for example your SEO or schema plugin), menus, widgets, logo and favicon. Upload or replace images. Move a page to a new address with an automatic 301 redirect. Site-wide "find this text" across pages, posts, page-builder data, settings and widgets.
* Every change keeps a copy of what was there before and has an Undo button in the Change log. The last 300 calls are shown as an audit trail.
* Never: running code, editing theme or plugin files, users or passwords, installing plugins, or reading keys and passwords.
* Updates install themselves (switch under Settings > Auto-SEO Connect), and the Change log records each update.
* Includes 1.3.2: serves an IndexNow key so new articles are submitted to Bing and other engines the moment they go live.

= 1.4.0 =
* Featured images: alt text sent by Auto-SEO is saved on the image, and can be set on posts that are already published.
* Images are no longer imported again each time an article is re-sent: the copy already in your media library is reused.
* Posts built with a page builder (SiteOrigin, Elementor, WPBakery, Divi, Beaver Builder) are never overwritten by an update, so your layouts stay as they are.
* Backups: quick snapshot (database, settings, active theme, mu-plugins) and full backup (plus all of wp-content), built in short time slices so they never time out on shared hosting, memory-safe, resumable, and sent to Auto-SEO in signed 4 MB chunks with checksums. Stored encrypted for 30 days, then purged.
* Restore: pick a stored backup, read the dry run (tables, plugins and themes that differ, address changes), approve on this screen, and the site is put back as it was: fresh pre-restore snapshot first, staged tables swapped in one atomic step, files moved aside and restored one by one, maintenance page while it runs, automatic rollback if anything fails before the switch-over. Your connection token, the change log and your own administrator account are always kept.
* Settings > Auto-SEO Connect > Backups: take a backup now, list, delete, restore with approval; switches for backups and for the automatic snapshot before site changes. Every backup and restore is also listed in the Change log.
* Optional: if UpdraftPlus is installed, Auto-SEO can also ask it to run its own backup each time (off by default; never relied on).
* Site tools: pages can now set a Yoast focus keyphrase and make in-place find-and-replace edits.

= 1.3.1 =
* Welcome popup: new "stay until closed" option. When it is switched on, the popup shows on each page a visitor opens until they close it or sign up, instead of only once. Closing it (the X, "No thanks", the Escape key or a click outside) hides it for 30 days; signing up hides it for a year.
* Welcome popup: a visible "No thanks" link under the button.
* Fix: the Plugins screen no longer shows "update available" for a version that is already installed.

= 1.3.0 =
* Site changes on request: pages (draft or published), menu labels (rename, hide or add an item, applied when the menu is shown, so your menus are not edited), a spam-protected contact form and a first-visit welcome popup. Configured by Auto-SEO with settings only: no code is ever uploaded to your site.
* Change log under Settings > Auto-SEO Connect with one-click Undo for every change, and a switch to turn site changes off.
* Contact form messages and popup sign-ups are emailed to you (reply goes straight to the visitor) and kept under Site messages, with a CSV export.
* Fix: the connection is now confirmed by the first call from Auto-SEO, so the daily health check runs even if the browser never returned to WordPress after approving.
* "View details" on the Plugins screen now shows these release notes.

= 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 > Auto-SEO Connect (on by default).
* Article and FAQ structured data now arrives from Auto-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.
