=== RankBrain X ===
Contributors: rankbrainx
Tags: seo, schema, sitemap, redirects, meta
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect this WordPress site to RankBrain X and apply titles, meta, schema, headings, alts and internal links as crawlable HTML.

== Description ==

RankBrain X is the site-side client for the RankBrain X SEO platform. Paste a per-site connect code (OS-XXXX-XXXX), then deploy optimizations from the dashboard.

This plugin:

* Applies meta titles, descriptions, canonicals, robots, Open Graph and Twitter tags
* Embeds JSON-LD schema in page source (`optisync-schema`)
* Rewrites headings and image alt text
* Inserts crawlable related-page internal links
* Renders approved changes server-side so crawlers see the final HTML
* Manages robots.txt, XML sitemaps, redirects, 404 logging and IndexNow

= External services =

This plugin connects to the RankBrain X service you configure (default https://rankbrainx.com) to register the site, receive deploy packets, and optionally submit URLs to IndexNow (https://www.indexnow.org) or the Google Indexing API. Data sent: site URL, REST base, WordPress/PHP/plugin versions, theme name, public post types, and the URLs/content you choose to deploy. See https://rankbrainx.com/privacy and https://rankbrainx.com/terms.

Existing sites keep working: option keys remain `optisync_*` and the REST namespace remains `optisync/v1`.

== Installation ==

1. Download rankbrainx.zip from RankBrain X.
2. In WordPress go to Plugins → Add New → Upload Plugin and upload the zip.
3. Activate RankBrain X.
4. Open the RankBrain X menu, paste this site's OS-XXXX-XXXX code, and click Connect site.
5. Deploy from the RankBrain X dashboard.

To update an existing install, upload the new zip (or replace `wp-content/plugins/optisync/optisync.php`) and keep the plugin folder name `optisync` so the connection is preserved.

== Changelog ==

= 2.0.1 =
* Deploy a page's canonical without changing other metadata.

= 2.0.0 =
* Server-side HTML rendering plus pixel fallback
* Admin dashboard, self-check, settings, redirects, 404 monitor, sitemaps, llms.txt
* HMAC + bearer REST auth, inventory/status/manifest/cache routes
* Additional apply kinds: ops, og, twitter, hreflang, schema nodes, alt text, IndexNow
* Keeps optisync_* options and optisync/v1 so connected sites continue to work
