=== Pirajki SEO ===
Contributors: pirajki
Tags: seo, meta tags, schema, sitemap, performance
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Complete on-page SEO, technical SEO, schema markup, and performance optimisation in one plugin.

== Description ==

Pirajki SEO is a comprehensive, professionally engineered WordPress SEO plugin that handles every aspect of on-page and technical SEO automatically, out of the box — with intelligent defaults based on best practices.

= Core SEO Features =
* **Complete Meta Tag Control** — Custom titles, descriptions, robots directives per post/page/term
* **Schema.org JSON-LD** — 20+ schema types auto-detected (Article, WebPage, Organization, BreadcrumbList, FAQPage, Product, Event, Recipe, HowTo, LocalBusiness, and more)
* **XML Sitemaps** — Auto-generated with image support, per-content-type sitemaps, auto-ping Google & Bing
* **Open Graph & Twitter Cards** — Full social preview control per post with media picker
* **Canonical URLs** — Automatic canonical tags, duplicate prevention
* **Redirect Manager** — 301/302/307/308 redirects with hit tracking, 404 log with one-click redirect creation
* **Breadcrumbs** — Schema-enhanced breadcrumbs via shortcode or action hook
* **Robots.txt** — Dynamic robots.txt with AI crawler blocking option
* **Clean WordPress Head** — Remove emoji scripts, RSD, WLW, generator tag, oEmbed, shortlinks

= Performance Features =
* **HTML Minification** — Strip whitespace and comments from HTML output
* **Defer JavaScript** — Non-blocking JS loading (jQuery excluded)
* **Lazy Load Images & iFrames** — Native loading="lazy" with decoding="async"
* **LCP Preload** — Auto-preload featured images as fetchpriority="high"
* **Critical CSS** — Inline above-the-fold CSS in `<head>`
* **Browser Cache Headers** — Cache-Control, Vary, security headers
* **Security Headers** — X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy
* **Remove Query Strings** — Strip ?ver= from asset URLs
* **Image Quality Control** — JPEG/WebP compression quality setting
* **Width/Height Attributes** — Auto-add missing image dimensions to prevent CLS

= SEO Analysis =
* **Live SERP Preview** — Real-time Google search result preview in post editor
* **Content Analyzer** — Keyword density, readability (Flesch-Kincaid), title/description length, heading structure, internal links, image alt text
* **Per-Post SEO Score** — Visual score indicator in post list table
* **Focus Keyword Tracking** — Keyword analysis across title, description, content

= Admin Dashboard =
* **Centralized Dashboard** — Feature status overview, quick actions, statistics
* **8 Settings Pages** — On-Page, Technical, Social, Schema, Performance, Redirects, Tools, Advanced
* **Yoast SEO Import** — Migrate titles, descriptions, focus keywords from Yoast in one click
* **Settings Export** — Export/import configuration as JSON
* **REST API** — Full REST API for settings and analysis
* **Per-Term SEO** — Custom titles and descriptions for categories, tags, custom taxonomies

= What Makes Pirajki SEO Different =
Unlike other SEO plugins, Pirajki SEO ships with **best-practice defaults enabled out of the box** — install and it immediately starts improving your SEO without any configuration required. Every feature is engineered for performance with minimal overhead.

== Installation ==

1. Upload the `pirajki-nexseo` folder to `/wp-content/plugins/`
2. Activate through 'Plugins' in WordPress Admin
3. All best-practice defaults are enabled automatically
4. Visit **Pirajki SEO → Dashboard** to review your settings

== Frequently Asked Questions ==

= Will this conflict with Yoast SEO? =
You should deactivate Yoast SEO before using Pirajki SEO. Use Pirajki SEO → Tools → Import from Yoast to migrate your data.

= How do I display breadcrumbs? =
Add `[pirajki_seo_breadcrumbs]` shortcode or call `do_action('pirajki_seo_breadcrumbs')` in your theme.

= Where is the sitemap? =
Visit `yoursite.com/sitemap-index.xml`

== External Services ==

This plugin optionally connects to two external services for sitemap indexing. These calls are only made when you enable the sitemap ping feature in Settings → Technical.

**Google Search Console Ping**
When a post is published or updated, this plugin may send a request to:
`https://www.google.com/ping?sitemap=<your-sitemap-url>`
This notifies Google of your updated sitemap. No personal user data is sent — only your sitemap URL.
* Google Terms of Service: https://policies.google.com/terms
* Google Privacy Policy: https://policies.google.com/privacy

**Bing Webmaster Tools Ping**
When a post is published or updated, this plugin may send a request to:
`https://www.bing.com/ping?sitemap=<your-sitemap-url>`
This notifies Bing of your updated sitemap. No personal user data is sent — only your sitemap URL.
* Bing Terms of Service: https://go.microsoft.com/fwlink/?LinkID=246338
* Bing Privacy Policy: https://privacy.microsoft.com/en-us/privacystatement

Both pings are optional and can be disabled in Settings → Technical → Sitemap.

== Changelog ==

= 1.0.0 =
* Initial release
