=== RankKernel SEO & Schema Engine ===
Contributors: maulikbhalodiya
Tags: seo, meta tags, xml sitemap, schema, redirects
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.2
Stable tag: 0.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free WordPress SEO plugin with meta tags, schema markup, XML sitemaps, redirects, breadcrumbs and 404 monitoring. No upsells.

== Description ==

RankKernel is a free, open-source WordPress SEO plugin for managing SEO titles, meta descriptions, XML sitemaps, Schema.org structured data, canonical URLs, redirects and 404 monitoring, with no paywalls or upsell banners.

Manage your website's essential SEO settings in one place. Enable only the modules you need; disabled modules are not loaded.

= SEO titles, meta descriptions and social sharing =

* Manage SEO titles and meta descriptions.
* Configure canonical URLs and robots directives.
* Add Open Graph and Twitter Card metadata for social sharing.
* Use sitewide metadata templates and per-post SEO settings.

= XML sitemaps and structured data =

* Generate XML sitemaps for supported WordPress content.
* Add Schema.org structured data using JSON-LD.
* Configure site identity and structured-data settings.
* Use breadcrumb functionality for site navigation.

= Redirects and 404 monitoring =

* Manage redirects when page URLs change.
* Protect manually created and edited redirect rules.
* Monitor genuine 404 requests when the optional monitoring module is enabled.
* Use the redirect tools to manage broken or outdated URLs.

= Content analysis and migration =

* Analyze content using focus-keyword checks.
* Review SEO information in the WordPress block editor.
* Import supported SEO settings from Yoast SEO, Rank Math and All in One SEO.
* Import supported redirect data.

= Additional site tools =

RankKernel also includes robots.txt, llms.txt and .htaccess editors, optional IndexNow submissions, site diagnostics, and a REST API for supported integrations.

IndexNow submission does not guarantee search-engine indexing.

RankKernel is designed for individual WordPress sites. Network activation is not supported.

== Installation ==

1. Install RankKernel from the WordPress Plugins screen, or upload the `rankkernel` folder to `/wp-content/plugins/`.
2. Activate RankKernel from the Plugins screen.
3. Open RankKernel settings from the WordPress admin menu.
4. Enable the SEO modules your site needs.
5. Configure sitewide metadata such as title and description templates.
6. Optionally enable XML sitemaps.
7. Visit `/sitemap_index.xml` on your site to check sitemap availability.

Network activation is not supported. Activate RankKernel separately on each individual site.

== Frequently Asked Questions ==

= Is RankKernel really free? =

Yes. RankKernel's released functionality is available without paid upgrades, paywalls or upsell banners.

= Where can I find my XML sitemap? =

Enable the Sitemaps module and visit `/sitemap_index.xml` on your website. Availability depends on your WordPress permalink and server configuration.

= Does RankKernel guarantee Google indexing? =

No. RankKernel generates XML sitemaps, but search engines control crawling and indexing. IndexNow is an optional submission service and is not a guarantee of indexing.

= Can I import settings from another SEO plugin? =

RankKernel provides import tools for supported data from Yoast SEO, Rank Math and All in One SEO, along with redirect import functionality.

= Can I activate RankKernel across a WordPress multisite network? =

Network activation is not supported. RankKernel is designed to be activated separately on individual WordPress sites.

== Privacy ==

RankKernel stores its data on your own site. Outside the contact form described below, nothing is sent to the plugin author.

The 404 monitor is off by default. When that module is enabled, a genuine 404 request is recorded in the site's own database table, `wp_rankkernel_404_log` on a default install. A row holds the requested URI, including its query string. The referer and user agent are stored only when advanced field capture is enabled. No IP address is read or stored. Rows are removed by a retention window, 30 days by default, and by a maximum row cap, so the log does not grow without limit.

Plugin settings are stored in the site's options as configuration. This includes any webmaster verification codes you enter for services such as Google, Bing, Yandex, Baidu and Pinterest.

When the Instant Indexing module is enabled, submitting a URL sends that URL plus your IndexNow API key, which is stored in the site's own options, to https://api.indexnow.org/indexnow. Submission happens only when you submit manually or publish content with the module enabled; nothing is sent otherwise.

== External Services ==

RankKernel contacts two external services, and only after your explicit opt-in (manual submit, or enabling the module with auto-submit on):

1. Support inbox (email). The Support screen sends an email through wp_mail to rankkernelsupport@gmail.com. Sending happens only when you press Send. The message carries the subject, the message body, the reply address, optional screenshots you attach, and site diagnostics: RankKernel version, WordPress version, PHP version, theme name, site URL, and multisite yes/no. The Reply-To header is set to your address.

2. IndexNow. Submitting a URL sends an HTTP POST to https://api.indexnow.org/indexnow with a JSON body containing host, key, keyLocation, and urlList, sent with Content-Type application/json. This happens when you submit manually from the Instant Indexing screen, and automatically through a deferred submit when a post is published, updated, or trashed, or when a term is created, edited, or deleted. Automatic submission runs only when the Instant Indexing module is enabled and auto-submit is enabled. The request uses wp_safe_remote_post, is blocking, has a timeout of 10 seconds, and does not follow redirects (redirection set to 0).

A separate key check performs an HTTP GET through wp_safe_remote_get to your own site's key file URL (the keyLocation). It runs only when you trigger the Verify key action, and it fetches only your own site's key file.

IndexNow is the official shared submission endpoint. Official documentation: https://www.indexnow.org/documentation. Official terms: https://www.indexnow.org/terms. The terms page includes a Privacy section. IndexNow does not publish a separate privacy policy URL; no standalone privacy URL is available, so the privacy terms are found within the terms page. This is a factual description of the service and its published pages, not a legal clearance.

== AI Assistance Disclosure ==

Portions of RankKernel were developed with AI assistance. Tools used include Claude, GitHub Copilot, and Jules (an AI software engineering agent). AI assistance was used for code refactoring, test coverage, documentation, internationalization string formatting, and WordPress.org compliance checks.

The developer reviewed, tested, and verified all AI-assisted code and documentation, and remains responsible for the plugin. All code is licensed under GPL-2.0-or-later.

Uninstalling the plugin removes the plugin's own log tables and its transients. The remaining configuration options, post meta, term meta and user meta are removed only when the purge on uninstall setting is enabled. Uninstall is scoped to the current site; network activation is unsupported and blocked at activation.

== Screenshots ==

1. RankKernel dashboard with one-click module toggles, live status cards, and quick actions.
2. Site-wide SEO settings: title and description templates with tokens, separator choice, and save.
3. Per-post SEO in the block editor: live search preview, focus keyword, and content analysis.
4. Redirects manager with a saved 301 rule, filters, and bulk actions.
5. Automatically generated XML sitemap index for search engines.
6. Schema.org identity and structured-data settings with validator links.
7. 404 Monitor catching real missing-page traffic, ready to convert into redirects.

== Changelog ==

= 0.1.2 =
* Fixed block-editor metadata updates that could overwrite another field edited in quick succession.
* Social previews in the Classic Editor and block editor now follow the same image and card fallbacks as the frontend, including attachment identity and the sitewide default image.
* Improved the snippet editor layout, tab labels, keyboard navigation and focus visibility, and corrected field label and help-text associations.
* Article schema output no longer emits an invalid author reference when the corresponding author entity is unavailable.
* Fixed schema-bearing metadata readback through the REST API so schema settings remain available after save and reload.
* Social image attachment validation prevents mismatched image dimensions and alt text.
* Hardened redirect CSV exports against spreadsheet formula triggers; spreadsheet application behavior remains application-dependent.
* Improved WordPress.org listing content and expanded automated regression coverage.

= 0.1.1 =
* Sitemap generation primes image attachment caches, reducing repeated database lookups for posts with images.
* Taxonomy sitemap modification dates now match the set they describe, and all sitemap dates are emitted consistently as UTC instants.
* Toggling the sitemap module off and on no longer leaves stale rewrite rules behind.
* Automatic redirects are cleaned up when published posts or pages are unpublished, trashed or deleted; manually created, imported and edited rules are protected.
* Corrected homepage Open Graph metadata, aligned canonical and Open Graph URLs, and fixed canonical URLs on paginated archives.
* Improved default social image handling and Twitter card fallback when no suitable image is available.
* Focus-keyword boundary detection and phrase matching are now consistent across title, content and image analysis.
* Corrected 404 hit counting when two requests race to log the same missing page, and reduced redundant cache writes when the flood limit is active.
* Support-request rate limiting now works correctly with persistent object caches.
* CSV exports escape values that look like spreadsheet formulas so they cannot be evaluated when the file is opened.
* Added an administrative warning when the stored database schema version is newer than the running plugin version, so schema migrations are skipped safely after a downgrade.

= 0.1.0 =
* Initial release: metadata engine, XML sitemaps, schema, breadcrumbs, redirects, 404 monitor, importer, robots, IndexNow, REST API, migrations, uninstall purge, plus bootstrap, ModuleManager and SettingsStore.

== Upgrade Notice ==

= 0.1.2 =
Maintenance update for block-editor metadata reliability, social previews, snippet editor accessibility, schema author references, social image validation and redirect CSV export safety. No database migration is required.

= 0.1.1 =
Maintenance and reliability update for sitemaps, redirects, metadata, content analysis and monitoring. Includes CSV export formula protection and a safer database downgrade warning. No database migration is required.

= 0.1.0 =
Initial release.
