How this works
Assistants read it to learn what you have, instead of hoping to stumble across each page through links.
Without one, discovery is accidental. A page nobody links to (a seasonal service, a location page, something added last week) may simply never be visited.
Why it matters
Small business sites are the ones that suffer most here, for a specific reason: they tend to have pages that aren't in the main menu. The page for one particular service. The town you also cover. The page you made for a campaign and never linked from anywhere.
Those are often your most specific pages, which makes them the ones most likely to answer a real question. A sitemap is how they get found at all.
A sitemap is also the fastest way to get new pages noticed. Publish a page, and it's in the sitemap immediately rather than whenever something happens to link to it.
How to fix
1. Check whether you already have one. Open yoursite.com/sitemap.xml in your browser. Most platforms generate a sitemap automatically, so there's a good chance one is already there. It will look like a plain list of addresses. That's normal, it's written for machines.
If that address shows nothing, try yoursite.com/sitemap_index.xml, which is what some plugins use.
2. Turn it on if it's missing. On almost every platform this is a setting, not a file you write by hand. See the links below.
3. Point robots.txt at it. Open yoursite.com/robots.txt and look for a line like:
Sitemap: https://yoursite.com/sitemap.xmlIf it isn't there, add it. This is the single most-missed step: the sitemap exists, but nothing tells crawlers where it is. Most plugins add the line automatically once sitemaps are switched on.
4. Submit it where you can. Google Search Console and Bing Webmaster Tools both accept a sitemap directly, and both are free. Google documents the process.
Where to change this on your platform
WordPress
your SEO plugin handles it: XML sitemaps in Yoast SEO. WordPress also generates a basic one on its own if no plugin is active.
Shopify
a sitemap is generated automatically at /sitemap.xml and kept up to date for you. Nothing to switch on.
Wix
generated automatically; it's covered in customizing your SEO settings.
Squarespace
generated automatically at /sitemap.xml. You can't edit it by hand; what controls its contents is whether individual pages are set to be found.
If your sitemap is there but looks wrong
Two things to check. Pages set to noindex are normally left out of the sitemap on purpose, so if something's missing, that's the usual reason. And a sitemap listing pages that no longer exist is worth cleaning up: it sends crawlers to dead ends and wastes the attention you want spent on real pages.
