Skip to main content
Back to Blog
6 min readBrass-SEO Team

What Is an XML Sitemap and Do You Need One?

An XML sitemap is a file on your website that lists every page you want Google to know about. It is like handing Google a table of contents instead of making it browse every hallway in your building to find all the rooms.

Most website platforms create sitemaps automatically. But "it exists" and "it works correctly" are two different things. Here is what you need to know.

Quick Navigation


What an XML Sitemap Does

A sitemap is an XML file (usually at yourdomain.com/sitemap.xml) that contains a list of URLs on your site. For each URL, it can also include:

  • Last modified date — When the page was last updated
  • Change frequency — How often the page changes (daily, weekly, monthly)
  • Priority — How important the page is relative to other pages on your site

Google uses this information to crawl your site more efficiently. Instead of following every link on every page to discover your content, it can read the sitemap and know immediately what pages exist.

What a sitemap does NOT do:

  • It does not guarantee indexing. Google still decides whether each page is worth indexing.
  • It does not improve rankings. Having a sitemap does not give you a ranking boost.
  • It does not replace internal links. Google still uses links to understand your site structure and page relationships.

Think of it as a discovery tool, not an optimization tool.

Do You Need One?

Yes, if:

  • Your site has more than 10-15 pages
  • You publish new content regularly (blog posts, products)
  • Some of your pages are not well-connected through internal links
  • You recently launched your site and Google has not crawled it extensively yet
  • You have pages that are important but buried deep in your site navigation

Maybe not, if:

  • Your site has 5 pages and they are all linked from the navigation
  • Every page is accessible within 1-2 clicks from the homepage
  • You are not concerned about how quickly new content gets discovered

Practical answer: Just have one. Every major CMS generates it automatically. There is no downside to having a sitemap, and it helps Google discover your content faster. The question is not "do I need one?" but "is mine working correctly?"

How to Find Yours

Most websites already have a sitemap. Check these common URLs:

  • yourdomain.com/sitemap.xml
  • yourdomain.com/sitemap_index.xml
  • yourdomain.com/sitemap/

By platform:

Platform Default Sitemap Location
WordPress (with Yoast) /sitemap_index.xml
WordPress (built-in) /wp-sitemap.xml
Squarespace /sitemap.xml
Shopify /sitemap.xml
Wix /sitemap.xml

If you cannot find yours, check your robots.txt file (at yourdomain.com/robots.txt). It often contains a Sitemap: directive pointing to the sitemap location.

How to Submit It to Google

Once you have found your sitemap:

  1. Go to Google Search Console
  2. Navigate to Indexing > Sitemaps
  3. Enter your sitemap URL
  4. Click Submit

GSC will show you:

  • Whether the sitemap was successfully read
  • How many URLs it found
  • When Google last processed it
  • Any errors in the sitemap format

You only need to submit it once. Google will re-check the sitemap periodically on its own. If you see the status as "Success" and the URL count matches your expectations, your sitemap is working.

Common Sitemap Problems

Sitemap Contains URLs That Return Errors

If your sitemap lists pages that return 404 (not found) or 301 (redirect), Google flags this as an issue. Clean up your sitemap by removing URLs for pages that no longer exist.

Sitemap Is Missing Important Pages

Your sitemap should include every page you want indexed. If a key service page or popular blog post is missing, Google may take longer to discover or re-crawl it. Check that your CMS is including all published pages.

Sitemap Includes Pages You Do Not Want Indexed

Admin pages, thank-you pages, tag archive pages with thin content — these sometimes end up in sitemaps when they should not be. Review your sitemap and exclude non-public or low-value pages.

Sitemap Is Too Old

If the lastmod dates in your sitemap are years old or never update, Google may crawl your site less frequently because it assumes nothing has changed. Make sure your CMS updates the lastmod when you edit a page.

Sitemap Is Too Large

Google limits individual sitemaps to 50,000 URLs and 50MB uncompressed. For most small business sites, this is never an issue. But if you have a large e-commerce site, you may need a sitemap index file that references multiple smaller sitemaps.

For a broader technical health check of your site, including indexing status, page analysis, and keyword performance, Brass-SEO can cross-reference your sitemap data with what Google actually sees in search results.


Frequently Asked Questions

Will creating a sitemap get my pages indexed faster?

A sitemap helps Google discover your pages faster, but it does not guarantee faster indexing. Google still evaluates each page and decides whether to index it. The benefit is discovery — without a sitemap, Google has to find pages by following links, which can take longer for new or poorly linked pages.

How often should I update my sitemap?

Most CMS platforms update the sitemap automatically when you publish or edit content. You do not need to manually update it. If you use a static site generator, make sure your build process regenerates the sitemap. The key is that the sitemap reflects the current state of your site.

Can a bad sitemap hurt my site?

A sitemap with errors (broken URLs, wrong formats) will not penalize your rankings, but it reduces Google's trust in your sitemap data. If Google finds too many errors, it may stop relying on your sitemap and revert to link-based discovery, which is slower and less complete.

Should my sitemap include every page on my site?

Include every page you want indexed. Exclude pages that should not be in search results: admin pages, thank-you pages, login pages, duplicate content pages. If a page has a noindex directive, it should generally not be in the sitemap — the mixed signals can confuse Google.

Do I need to notify Google when I update my sitemap?

Not usually. Google periodically re-reads submitted sitemaps. For urgent new content, you can use the URL Inspection tool in GSC to request crawling of specific pages. Some services like IndexNow can also notify search engines about changes in near-real-time.

Ready to try Brass-SEO?

Get AI-powered SEO insights from your Google Search Console and Analytics data.