WordPress has generated a sitemap since version 5.5, and for many sites that is
genuinely enough. This plugin is for the sites where it is not.
Core’s /wp-sitemap.xml lists posts, pages, public custom post types,
categories, tags and author archives, and gives each entry a <loc> and a
. That is the whole of it. Core implements none of the sitemap
extensions, so if you need search engines to see your images, your videos or
your news content as such, core cannot express it.
This plugin serves /sitemap.xml and adds exactly the parts core leaves out:
<image:image> entries for the images in your content, so<video:video> entries with thumbnail, title, description<news:news> sitemap of the last 48 hours, up to<xhtml:link rel="alternate" hreflang="..."> inside<changefreq> and <priority> — core deliberately emits neither. They/sitemap.xml — the conventional path, rather than core’sIf none of the above matters to your site, core’s sitemap is fine and you do
not need this plugin. That is a genuine recommendation, not modesty.
This plugin makes no external network requests whatsoever. It contacts no
API, sends no telemetry, pings no search engine, checks no remote server for
updates, and loads no font, script or image from a third-party domain. It reads
your database and writes XML. Nothing leaves your server.
It also writes no file anywhere outside its own plugin directory, and deletes
no file at all — not on uninstall, not ever. Your site root is left exactly as
it was found.
Publishing two sitemaps for one site is not useful, so by default this plugin
switches core’s /wp-sitemap.xml off. If you would rather keep both, untick
“Disable the WordPress core sitemap” in the settings.