What is the default WordPress sitemap URL?

Since WordPress 5.5 a sitemap is created automatically at /wp-sitemap.xml:

Terminal output

$ curl -s http://example.com/wp-sitemap.xml | grep -o "<loc>[^<]*</loc>"
<loc>http://example.com/wp-sitemap-posts-post-1.xml</loc>
<loc>http://example.com/wp-sitemap-posts-page-1.xml</loc>
<loc>http://example.com/wp-sitemap-taxonomies-category-1.xml</loc>
<loc>http://example.com/wp-sitemap-users-1.xml</loc>

It lists the sitemaps for posts, pages, categories and users. If you install an SEO plugin like Yoast SEO, the plugin makes its own sitemap (/sitemap_index.xml) and the core one is redirected to it. Send the sitemap address to Google Search Console.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.