=== Online Media Direct Sitemap + IndexNow ===
Contributors: online-media-direct
Tags: sitemap, xml sitemap, indexnow, seo
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.8
License: GPLv2 or later

Fast XML sitemaps plus optional IndexNow, built to run alongside Yoast and Rank Math.

== Description ==
Online Media Direct Sitemap + IndexNow adds fast, cache-friendly XML sitemap endpoints to your WordPress site. It is designed to run alongside popular SEO plugins such as Yoast SEO and Rank Math without disabling them.

**Sitemap endpoints**
* `/omd-sitemap.xml` (sitemap index)
* `/omd-sitemap-recent.xml` (recent updates sitemap)
* `/omd-sitemap-static-1.xml` (static URLs sitemap, if enabled)
* `/omd-sitemap-{posttype}-{page}.xml` (chunked post type sitemaps)
* `/omd-sitemap-tax-{taxonomy}-{page}.xml` (optional taxonomy term sitemaps)

**IndexNow (optional)**
If enabled, the plugin can submit updated URLs via IndexNow to participating search engines.

Note: Google does not provide a reliable public “ping” endpoint for instant indexing. The standard workflow is to submit your sitemap once in Google Search Console and keep it accurate.

== Installation ==
1. Upload the plugin ZIP via **Plugins → Add New → Upload Plugin** and activate it.
2. Visit `/omd-sitemap.xml` to confirm the sitemap index loads.
3. Add `/omd-sitemap.xml` in Google Search Console (one-time submission).

== Frequently Asked Questions ==
= Does this replace my SEO plugin sitemap? =
No. It adds separate OMD sitemap endpoints and is designed to coexist.

= Will this guarantee instant indexing? =
No. It improves discovery signals, but indexing is controlled by each search engine.

== Changelog ==
= 1.1.8 =
* Plugin Check compliance: sanitize request URI handling and improve readme formatting.

= 1.1.7 =
* Code style and security hardening: sanitized request path handling and PHPCS-compliant output.
* Replaced direct database reads with cached core queries for compatibility with plugin check.

= 1.1.6 =
* WordPress.org compliance updates: Tested up to 6.9 and corrected Text Domain to match plugin slug.
* No functional changes to sitemap endpoints.
