WordPress glossary

Sitemap

A file that lists the pages on your site, so search engines can find them.

A sitemap is a file that lists the pages on a website, so search engines like Google and Bing can find and crawl them. The kind used for search engines is an XML sitemap: a plain list of URLs, often with the date each page was last changed. It isn’t meant for visitors, and most people never see it.

Since WordPress 5.5, every site gets an XML sitemap automatically, at /wp-sitemap.xml. It links to separate sitemaps for your posts, pages, custom post types, categories, tags and authors, and WordPress keeps it up to date as you publish. WordPress also adds the address of the sitemap to your site’s robots.txt file, so search engines know where to look.

Many SEO plugins replace the built-in sitemap with their own. Yoast SEO, for example, turns off the core sitemap and generates one at /sitemap_index.xml instead, with settings for which content to leave out. Jetpack has a sitemap feature too, which adds separate sitemaps for images, videos and Google News. If you have “Discourage search engines from indexing this site” turned on, WordPress doesn’t generate a sitemap at all.

Search engines can usually find your pages without a sitemap by following links, but a sitemap helps new sites, large sites and pages with few links pointing to them get found faster. To make sure Google knows about yours, you can submit it in Google Search Console.

Published November 25, 2026

Related terms