Search engines discover pages by following links. But new pages, deep pages or pages with few links can be missed. A sitemap gives search engines a clear list of the pages you want them to find. Here’s how it works.
What is a sitemap?
It’s a file — usually XML — that lists your website’s important URLs, often with the date each was last updated. Search engines read it to discover and crawl pages efficiently.
There are two types:
- XML version — for search engines
- HTML version — a page of links for visitors (optional)
Why it matters
- Helps new websites get indexed faster
- Helps large websites with many pages
- Highlights updated content
- Useful for pages with few internal links
- Supports images, videos and multiple languages
It doesn’t guarantee indexing or rankings — but it makes discovery easier.
How WordPress creates one
- WordPress core creates one at
/wp-sitemap.xml - Yoast SEO creates
/sitemap_index.xmland disables the core one - Rank Math works the same way
Most sites don’t need to build one manually.
What to include
- Important pages, posts, services, products
- Only canonical URLs that return a 200 status
What should NOT be in it
- Pages with a 404 error or redirects
- Thin pages like tag archives (often)
- Thank-you pages, login pages, private content
- Pages blocked by robots.txt or marked noindex
How to submit it to Google
- Open Google Search Console
- Go to Sitemaps
- Enter the file’s URL (e.g.,
sitemap_index.xml) - Click Submit
- Check later for errors
Also add its URL to your robots.txt file.
Key Takeaways
- A sitemap lists the pages you want search engines to find.
- WordPress and SEO plugins create one automatically.
- Include only important, working, indexable URLs.
- Submit your sitemap in Google Search Console.
Further reading: Google Search Central: Learn about sitemaps
Frequently Asked Questions About a Sitemap
How often does it update?
Plugins update it automatically when you publish or edit content.
Does a small site need one?
It still helps, especially when the site is new.
Why are some listed pages not indexed?
Google decides what to index based on quality and relevance — see why your website isn’t showing up on Google.
Need technical SEO help?
Makto Mine sets up indexing, Search Console and technical SEO. Talk to us.
Related: How to Fix Broken Links