=== Jolt SEO & AI ===
Contributors: seolocale
Tags: seo, audit, redirects, llms.txt, optimization
Requires at least: 5.9
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free SEO toolkit: page audits with fix suggestions, site & database optimizers, 404 monitor with one-click redirects, llms.txt, and Core Web Vitals.

== Description ==

Jolt SEO & AI gives your WordPress site a serious SEO tune-up — free.

**SEO Hero Audit** — score every post and page on titles, meta descriptions, headings, word count, readability, and broken links. Add your own OpenAI API key (optional) for AI-written improvement suggestions. Includes bulk audits with a live progress bar, trend sparklines, a weekly email digest, and CSV export.

**Site, Database & SEO Optimizers** — one-click toggles to remove WordPress bloat (emoji scripts, XML-RPC, heartbeat, embeds…), clean your database (revisions, spam, transients — with an estimate first), and apply frontend SEO fixes (lazy loading, canonical tags, attachment redirects, alt attributes).

**404 Monitor & Redirects** — every 404 is logged with a hit counter, and any of them becomes a proper 301 redirect with one click.

**LLM Visibility (llms.txt)** — serve an auto-generated llms.txt content map so AI assistants can understand and cite your site, and block specific AI crawlers (GPTBot, ClaudeBot, PerplexityBot, and more) via robots.txt.

**Internal Link Insight** — an orphan-page finder that flags content nothing links to, and a visual map of your internal link structure.

**Automatic Schema** — Article/BlogPosting JSON-LD per post type plus Organization or LocalBusiness markup for your homepage. No configuration marathon.

**Core Web Vitals** — run Google Lighthouse per page (via the free PageSpeed Insights API) and track performance score, LCP, CLS, and TBT.

= Need more? =

[JoltWP Pro](https://joltwp.com) adds daily keyword rank tracking with competitor intel, LLM tracking (is ChatGPT recommending you?), AI internal linking, an AI meta writer and blog writer, Google Search Console integration with content-decay reports, branded monthly client reports, and rank-drop alerts.

== External services ==

This plugin makes network requests only when you use the related feature:

* **OpenAI API** (api.openai.com) — only if you enter your own OpenAI API key, to generate audit suggestions. Page content being audited is sent to OpenAI. See https://openai.com/policies/privacy-policy
* **Google PageSpeed Insights API** (googleapis.com) — only when you click "Check" on the Core Web Vitals page; the page URL is sent to Google. See https://policies.google.com/privacy
* **Broken-link checking** — the audit sends HTTP HEAD requests to URLs found in your own content.

No data is sent to joltwp.com and there is no phone-home.

== Installation ==

1. Install and activate the plugin.
2. Open **Jolt SEO & AI → SEO Hero Audit** and run your first audit.
3. (Optional) Add your OpenAI API key under **Jolt SEO & AI → Settings** for AI suggestions.

== Frequently Asked Questions ==

= Is an API key required? =
No. Everything works without one. An optional OpenAI key (yours, billed by OpenAI) unlocks AI improvement suggestions in the audit.

= Will it conflict with Yoast / Rank Math / AIOSEO? =
No — the optimizers and audits are complementary. The audit reads your SEO plugin's title/meta fields to score them.

= What's different in Pro? =
Rank tracking, LLM tracking, all the AI generators (internal links, meta, alt text, blog posts), Search Console reports, client reports, and alerts. The free version is not time-limited.

== Changelog ==

= 1.1.0 =
* Hardened all database access and output escaping to pass WordPress.org Plugin Check with zero errors.
* Prefixed all constants and sanitized every input for full coding-standards compliance.
* Made frontend DNS-prefetch hosts user-configurable in the Site Optimizer.
* General code cleanup and stability improvements.

= 1.0.0 =
* Initial release: SEO audits, site/database/SEO optimizers, 404 monitor + redirects, llms.txt + AI crawler control, orphan pages, visual link map, automatic schema, Core Web Vitals.
