Skip to main content

Your sitemap

3 min readApplies to every PremiumPress theme · 12.x

Your sitemap

Here we'll explain what a sitemap is, where to find yours, and how to give it to Google.

What a sitemap is​

A sitemap is a list of the pages on your site. It's written for search engines rather than people. It helps Google and Bing find your pages, including new ones, so they don't have to wait until they happen to come across a link.

WordPress makes it for you​

Good news: you don't need to make or update it yourself. WordPress creates the sitemap automatically and keeps it up to date. When you publish a page, add a listing or create a category, it appears in the sitemap on its own.

Your sitemap is at your site's address followed by /wp-sitemap.xml, for example:

https://www.yoursite.com/wp-sitemap.xml

The quickest way to open it is Your sitemap, the first of the Quick links on Search → SEO in the admin sidebar. The SEO checklist card on the same screen shows how many pages, listings, categories and blog posts are in it.

The sitemap opens as a plain list of links. Don't worry, that's normal. It's meant for search engines, not for people to read.

What's left out​

The theme keeps some things out of the sitemap, so search engines aren't sent to pages that wouldn't work for them. For example, listings and pages you've chosen to hide from search engines. Draft and private content is never included.

The theme's own pages, such as About, Contact, FAQ and Terms, have a small sitemap of their own inside yours, so search engines find them too. Any pages you've switched off on Design → All Pages are left out.

If you use an SEO plugin​

Yoast SEO and Rank Math replace the WordPress sitemap with their own, usually at /sitemap_index.xml. When one of them is active, the Your sitemap link opens theirs instead, and the plugin decides what goes in it.

If your site is set to discourage search engines (Settings → Reading), WordPress switches the sitemap off. The Your sitemap link will tell you this and take you to that setting. If the SEO screen says sitemaps are switched off for another reason, then a plugin or a setting on your site has turned them off. It's worth checking your plugins, or you can ask your developer.

Submit it to Google​

Search engines will find your sitemap on their own in time. Submitting it is quicker, though, and it lets you see any problems:

  1. Open Google Search Console and choose your site.
  2. Click Sitemaps in the menu on the left.
  3. Type wp-sitemap.xml (or sitemap_index.xml if you use Yoast SEO or Rank Math) in the box and click Submit.

Google checks it over the next few days. You only need to do this once, because Google keeps reading it from then on.

For Bing, do the same under Sitemaps in Bing Webmaster Tools.