=== SEOXtreme ===
Contributors: seoxtreme
Tags: seo, woocommerce, schema, ai, geo
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.11.22
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI SEO for WooCommerce: meta, product copy, FAQ, schema and alt text that you approve, to rank on Google and get cited by AI assistants.

== Description ==

SEOXtreme connects your WooCommerce store, in one click, to the SEOXtreme cloud service (the "engine") and optimizes your whole catalog and site structure so you rank in Google **and** get cited by AI assistants (ChatGPT, Claude, Perplexity, Gemini).

Everything is **additive and reversible**. The plugin never rewrites your original product content or changes your URLs/slugs (no redirects, no SEO loss). Improvements are served on top of your pages, and you approve them from your panel (before/after + one-click rollback) before anything goes live.

**What it optimizes**

* Products: meta title/description (only when missing or when you approve an improvement), a rich data block under the description (benefits, usage, presentation), image ALT text (AI vision), and FAQ.
* Full site structure: home, pages, blog posts, and **every indexable taxonomy** — product categories (and subcategories), brands (native WooCommerce brands and popular brand plugins), product tags, browsable attributes, and blog categories/tags.
* Structured data (JSON-LD): Product/Offer, FAQPage, Article, BreadcrumbList, Organization.
* Blog: generate new AI articles (with an optimized featured image and internal linking) and optimize the ones you already have.
* AI discovery feeds served on your own domain: llms.txt and ai-feed.json, plus an extra sitemap and robots.txt references.
* Instant re-crawl via IndexNow (Bing/Yahoo).

**Free, no account needed**

The plugin works on its own, with no account and no AI, for everything technical. With SEOXtreme as your only SEO plugin you get, for free:

* Title, meta description, canonical, Open Graph and X cards, and robots for every page.
* Per-page controls: hide from search engines (noindex), nofollow, canonical URL, image for social networks, custom JSON-LD schema, and a Facebook and X preview.
* XML sitemaps (with images, video and news), a robots.txt editor, redirects (301, 302, 307, 410, 451, regular expressions, CSV import and export) and a 404 monitor.
* Breadcrumbs (block and shortcode), table of contents and HTML site map (blocks and shortcodes).
* Product schema completed with brand, SKU, shipping and your return policy (hasMerchantReturnPolicy).
* Search engine verification codes (Google, Bing, Pinterest, Yandex).
* SEO and readability analysis with a main keyword and up to 4 secondary keywords, an SEO score column in your lists, and a bulk editor for titles and descriptions.
* llms.txt and llms-full.txt for AI assistants, and counts of AI crawlers and visits that arrive from ChatGPT, Perplexity, Claude, Gemini and others.
* Switching from Yoast, Rank Math, SEOPress or All in One SEO without copying anything: SEOXtreme reads what they saved on each page (meta, noindex, canonical, social image, keyword), brings their redirects and verification codes, and turns the old plugin off with one button.
* WordPress Abilities API (6.9+), WPML and Polylang support (wpml-config.xml), settings export and import, and a setup wizard.

An account adds the AI: product copy, meta, FAQ, alt text, blog posts, landing pages, "Fix with AI", bulk optimization and the dashboard.

**Ownership, no lock-in**

An optional "Write to WordPress" action writes the approved improvements **into** your WordPress (product SEO meta via your SEO plugin, the data block and FAQ into the content, ALT text into the image, and category/brand meta into your taxonomy SEO fields). It keeps a backup of your original and is fully reversible. What you consolidated stays yours even if you cancel the service.

**You are always in control**

Nothing is published without your approval unless you explicitly turn on the optional autopilot. There is a one-click "Revert everything" action.

**Account and pricing**

SEOXtreme is a cloud service: the plugin is free and connects your store to your SEOXtreme account, where the AI work runs. New accounts get a free trial with no card required (create yours from the SEOXtreme page in your admin with "Create my free account", or at https://seoxtreme.app/en/free-trial/); after that, the service is paid monthly or yearly. Plans, prices and what each one includes: https://seoxtreme.app/precios/ . Everything the plugin already wrote into your WordPress with "Write to WordPress" stays yours if you stop using the service.

**Languages**

English and Spanish (Spanish ships with the plugin).

== External services ==

This plugin requires an account with the **SEOXtreme service** and, to work, it sends data from your store to that external service. This is core to the plugin's function (the AI optimization runs in the cloud, not on your server).

**1) SEOXtreme engine (by default https://seoxtreme-production.up.railway.app, or the endpoint you configure)**

* When you click "Create my free account": your browser opens the SEOXtreme sign-up page (https://seoxtreme.app) with your store's public address in the link, to fill in the form for you. The plugin itself sends nothing.
* When you connect: your site URL and the one-time connection code you were given.
* When it syncs your catalog (on connect, hourly, when you save a product, or when you click "Sync now"): product data — name, descriptions, SKU, brand, GTIN, categories, tags, attributes, regular/sale price, currency, stock status, image URLs, product URL, and the current SEO meta already set for that product (including the meta title and description you typed by hand for it, either in the SEOXtreme box or in your previous SEO plugin).
* When it syncs your structure ("Sync web structure"): for the home, pages, posts and every optimizable taxonomy (categories, subcategories, brands, tags, attributes) — the title, excerpt/description, text content, image URL and current SEO meta.
* On the front end, to show approved SEO: the URL of the page currently being viewed (so the service can return the approved SEO for exactly that URL). The response is kept as a local copy that is refreshed every few minutes, so your pages never wait for the service.
* Every 10 minutes: it asks the service which of your URLs had their approved SEO changed since the last check (it sends only a timestamp), to clear your page cache for exactly those URLs.
* Once a day: the list of IDs of your published products, so products you unpublished or deleted stop being counted and linked.
* When you open the SEOXtreme page in your admin: it reads your plan and usage (AI generations used, products covered by your plan, articles this month) to show them to you.
* For the AI feeds: your site fetches llms.txt / ai-feed.json / extra sitemap from the service and serves them on your domain.
* When you use "Optimize with SEOXtreme" on several items, "Fix with AI" or an AI agent through the Abilities API: the same product or page data listed above, for those items only.
* Once a day, if "AI visits" is on: the counts of the last 30 days (how many visits each AI crawler made, how many people arrived from each AI assistant, and the paths of the pages where they landed). Only numbers and paths, nothing about the visitors.

No end-customer personal data (no orders, no customer names/emails/addresses) is sent by this plugin.

Service terms: https://seoxtreme.app/legal/terminos/
Privacy policy: https://seoxtreme.app/legal/privacidad/
Data processing agreement: https://seoxtreme.app/legal/dpa/
Subprocessors: https://seoxtreme.app/legal/subprocesadores/

**2) IndexNow (https://api.indexnow.org)**

When you publish or update content, the plugin can notify IndexNow so Bing/Yahoo re-crawl faster. It sends: your site host, your IndexNow key, and the list of changed URLs. This runs only if you set an IndexNow key in the plugin settings.

IndexNow terms & privacy: https://www.indexnow.org/faq

**3) Nothing else**

The plugin does not load scripts, styles or fonts from third-party servers: the fonts of the sales landing page (Oswald and Barlow, SIL Open Font License 1.1) are included in the plugin and served from your own site.

== Installation ==

1. Install SEOXtreme from Plugins → Add New (search for "SEOXtreme", or upload the .zip with Upload Plugin) and activate it.
2. Open "SEOXtreme" in the admin menu. No account yet? Click "Create my free account": the sign-up page opens with your store address filled in. When you finish, you'll see your connection code (it also arrives by email).
3. Paste the connection code (the engine endpoint is already filled in) and click "Connect store".
4. Sync your catalog, then approve improvements from your panel. Optionally run "Sync web structure" to optimize categories, brands, tags and pages too.

== Frequently Asked Questions ==

= Does it change my product content or URLs? =
No. It is 100% additive. It never edits your original content and never changes slugs/URLs, so there are no redirects and no SEO loss. Approved improvements are served on top and are reversible.

= What happens if I cancel? =
If you used "Write to WordPress", the approved improvements were written into your own WordPress (with a backup of the original) and stay with you. You can also revert everything with one click before cancelling.

= Do I need Yoast or Rank Math? =
No — SEOXtreme can be your only SEO plugin. When no other SEO plugin is active it emits everything a full SEO plugin does: title tag, meta description, canonical, Open Graph + Twitter Cards, meta robots and BreadcrumbList schema, plus its complete JSON-LD. If Yoast, Rank Math, SEOPress or AIOSEO are present, it auto-detects them and coexists — completing and overriding their output without duplicating, and it can write into their fields on consolidation.

= Does it send my customers' data anywhere? =
No. It only sends catalog and site-structure data to the SEOXtreme service to generate SEO. See the "External services" section above.

== Screenshots ==

1. Overview in your SEOXtreme dashboard: catalog coverage, monthly AI usage and the approval queue.
2. Product Copy & Meta: the before and after of each change, to approve, publish, reject or revert.
3. Autopilot: the catalog scanner shows what is complete, what is missing and what you already had.
4. Content Rules: what your store sells, how the AI should write and the words it must avoid.

== Changelog ==

= 1.11.22 =
* New: when you turn off Yoast SEO, Rank Math, SEOPress, All in One SEO or Redirection, SEOXtreme brings by itself their active redirects for exact addresses and their search engine verification codes, so nothing breaks. It never changes a redirect or a code you already have in SEOXtreme, never deletes anything from the other plugin and never turns anything off on its own. A notice says what it brought.

= 1.11.21 =
* New: per-page controls (noindex, nofollow, canonical, image for social networks, custom JSON-LD schema) with a Facebook and X preview. Hidden pages leave the sitemap.
* New: switching from Yoast, Rank Math, SEOPress or All in One SEO without copying anything (their per-page data is read until you write your own), plus their redirects (also Yoast Premium, SEOPress and Redirection) and verification codes, and a button to turn the old plugin off.
* New: Tools screen — search engine verification, return policy in the product schema, links to other sites (new tab, nofollow), automatic table of contents, llms-full.txt, AI visits, settings export and import.
* New: redirects 307, 410 and 451, regular expressions, and CSV import and export.
* New: SEO score column and "Optimize with SEOXtreme" bulk action in the products, posts and pages lists; bulk editor for titles and descriptions.
* New: secondary keywords in the analysis and "Fix with AI" for what the analysis flags.
* New: blocks for breadcrumbs, table of contents and site map; WordPress Abilities API; wpml-config.xml; setup wizard.
* Nothing changes on a page that doesn't use the new options.

= 1.11.20 =
* Security housekeeping from Plugin Check: every value read from a form or from the address bar is unslashed and sanitized before use, the "Target keyword" box and the author fields check their nonce before saving, and redirects to another domain use wp_safe_redirect (only the domain you typed in Redirections is allowed). Nothing changes in what your store shows.

= 1.11.19 =
* Housekeeping for the WordPress.org review: every setting saved through the Settings API now has its own sanitization, translations no longer pass variables to the translation functions, database queries use placeholders for table names, admin output is escaped, and robots.txt backups are moved with WP_Filesystem. Nothing changes in what your store shows.

= 1.11.18 =
* New: "Create my free account" on the SEOXtreme page and, until your store is connected, a notice on the Dashboard and Plugins screens (you can hide it). It opens the free-trial sign-up with your store address filled in; the connection code you get there goes in the same screen.

= 1.11.17 =
* Housekeeping: generic examples in code comments and in the Spanish changelog. Nothing changes in what your store shows.

= 1.11.16 =
* Ready for WordPress.org. Nothing changes in what your store shows.
* Scripts and styles are printed with the WordPress APIs (no hand-written script or style tags).
* The sales landing page fonts (Oswald and Barlow) are now included in the plugin: visitors no longer download them from Google Fonts.
* Every value is escaped when printed and every database query with values uses prepared statements.
* Requires WordPress 6.2 or later.

= 1.11.15 =
* Two languages: English and Spanish. Every string now goes through WordPress translations (text domain "seoxtreme"); English is the base language and Spanish ships in /languages.
* New setting "SEOXtreme language": Automatic (your WordPress language) / Español / English.
* Sites upgrading from an earlier version stay in Spanish, exactly as they were, even if WordPress runs in English. New installs follow the WordPress user's language.
* The fixed texts printed on the store (FAQ heading, sales landing page, "Products that go together", llms.txt, agents.md) follow the language of the store's content reported by the SEOXtreme engine, not the WordPress locale.
* Nothing else changes. Includes everything from 1.11.14.

= 1.11.14 =
* Sync also sends the meta you wrote by hand for each product, so SEOXtreme can learn the phrases your store repeats and close its own metas with them. Your hand-written meta still wins.

= 1.11.13 =
* FAQPage schema is also emitted when the answers were saved without paragraph tags.
* Sync reports the length of each product's hand-written meta so the catalog scanner knows which meta is really shown.

= 1.11.12 =
* Content already written to WordPress is never shown twice: saved product copy and FAQs are recognized by their markers and the live version is not painted on top.
* The "written to WordPress" confirmation sent to the engine is verified and retried every hour if it fails.
* Sync tells the engine, in numbers only, what each product already has.

= 1.11.11 =
* Sales landing page: reviews from the store's review plugin, and every section always complete.

= 1.11.10 =
* General sales landing page built from each store's real data (offers, reviews, payment methods, policies). Store country and language are reported to the engine.

= 1.11.9 =
* Plan limits and notices inside WordPress, optional server-level security headers, and hardening.

= 1.11.8 =
* Image SEO fixes.

= 1.11.7 =
* Image SEO: automatic alt text never ends up with junk (file names, AI refusals, template prefixes), with a preview-and-undo tool.

= 1.11.6 =
* The page payload refreshes in the background: visitors never wait for the engine.

= 1.11.5 =
* Page cache integration: the cache of pages whose SEO changed is cleared automatically.

= 1.11.4 =
* Resilience: if the engine is slow or down, the store keeps serving its last good SEO.

= 1.11.3 =
* Stability and compatibility fixes.

= Earlier versions =
* The full history (in Spanish) is included in changelog-es.txt.

== Upgrade Notice ==

= 1.11.22 =
Turning off your previous SEO plugin keeps its redirects and verification codes working in SEOXtreme. Nothing else changes.

= 1.11.21 =
Per-page noindex, canonical, social image and custom schema; switching from other SEO plugins; redirects 410/451/regex/CSV; bulk tools; Abilities API. Additive: nothing changes until you use it.

= 1.11.20 =
Security clean-up from Plugin Check. Nothing changes in what your store shows.

= 1.11.19 =
Code clean-up for the WordPress.org review. Nothing changes in what your store shows.

= 1.11.18 =
Adds a "Create my free account" button for stores that aren't connected yet. Nothing changes on stores that are already connected.

= 1.11.17 =
Maintenance release. Your store looks and works the same.

= 1.11.16 =
Security and WordPress.org compliance update. Your store looks and works the same; the landing page fonts are now served from your own site. Requires WordPress 6.2 or later.

= 1.11.15 =
SEOXtreme is now available in English and Spanish. Sites upgrading from an earlier version stay in Spanish; you can change it on the SEOXtreme page of your WordPress admin, under "SEOXtreme language". Nothing else changes on your store.
