A sitemap is a file listing the URLs you want search engines to find. Maintaining one by hand doesn’t last past a few pages, so let your software do it.
Why it’s worth having
A sitemap helps search engines discover your pages and tells them when those pages changed. It doesn’t guarantee indexing or improve rankings by itself, but it makes sure your content has been found.
On WordPress
WordPress has included a basic sitemap at /wp-sitemap.xml since version 5.5. It lists your content, but has no image or news sitemaps and few settings.
For more control, install XML Sitemap Generator for Google, the free plugin we maintain, used on more than a million sites. Activate it and your sitemap is published at /sitemap.xml, then kept up to date as you publish, edit and remove content.
- Install and activate the plugin.
- Open
/sitemap.xmlon your site to confirm it’s there. - Submit that URL once in Google Search Console and Bing Webmaster Tools.
That third step is needed once. Sitemap tools used to “ping” search engines after every change, but those endpoints have been retired. Search engines now revisit your sitemap and use its dates to decide what to recrawl. Version 5 of the plugin also notifies Bing and other engines through IndexNow as soon as a post changes.
On other platforms
Most platforms and frameworks generate a sitemap or have an extension that does. If yours doesn’t, a crawler-based generator such as XML-Sitemaps.com or Screaming Frog can build a file for you, though you’ll need to regenerate it whenever your site changes.