
If Google can't find a page, it can't rank it — no matter how good the content is. An XML sitemap is the plain, unglamorous file that helps search engines discover every page on your website, especially the ones that aren't linked from your main menu. Most business owners have never opened theirs, and most don't need to — but understanding what it does, and checking it's actually working, is one of those small technical jobs that quietly protects your visibility in Google. Here's what an XML sitemap is, why it matters, and how to make sure yours is doing its job.
What Is an XML Sitemap?
An XML sitemap is a file that lists the important pages on your website, in a format search engines can read. Think of it as a table of contents you hand directly to Google, rather than hoping it stumbles across every page by following links.
Each entry in the file typically includes:
- The page's web address (URL)
- When it was last updated
- Sometimes how often it changes and how important it is relative to other pages
It's not written for humans — it's written for crawlers, the automated programs Google and other search engines use to read your site. You'll never need to read the raw file yourself, but it's worth knowing it exists and what it's doing behind the scenes.
Why Your Website Needs One
Search engines find pages mainly by following links — from your homepage to your services page, from a blog post to a related article, and so on. A sitemap is a backup and an accelerant. It tells Google, in one clear list, "here are all our pages, please check them."
This matters most in a few common situations:
- Larger sites. A site with dozens or hundreds of pages — think an eCommerce store with many products, or a multi-location business — can have pages that are several clicks deep and easy for a crawler to miss.
- New sites. A brand-new website has no history with Google and few, if any, other sites linking to it yet. A sitemap gives Google a head start on discovering it.
- Pages with weak internal linking. Old blog posts, seasonal landing pages or pages buried in a dropdown menu often don't get many internal links pointing at them. A sitemap makes sure they're still on Google's radar.
Picture a plumber in Ballarat with a site covering emergency callouts, hot water systems, blocked drains, gas fitting and a suburb-by-suburb list of service areas. If those suburb pages only sit in a small dropdown, there's a real risk Google never finds half of them through links alone. A sitemap removes that risk by listing every page directly, so discovery doesn't depend on a crawler clicking through several layers of navigation.
A sitemap can't fix a site with genuinely poor internal linking — that's worth reviewing as part of a broader technical SEO checklist — but it does make sure the door is open for Google to find every page you want it to see.
Where to Find Your Sitemap
If your site runs on WordPress with an SEO plugin — Yoast SEO and Rank Math are the two most common — a sitemap is generated automatically. You don't need to write or maintain it by hand.
You'll usually find it at:
https://yoursite.com.au/sitemap.xml
or, depending on the plugin, at sitemap_index.xml. Try loading that address in your browser now. If your SEO plugin is active, you should see either the raw XML file or a readable table listing your sitemap sections (pages, posts, categories and so on). If nothing loads, or you get a 404 error, that's worth investigating — it may mean your SEO plugin's sitemap feature is switched off, or something in your site's settings is blocking it.
If you're not sure whether yours is working properly, a website audit will pick this up along with other technical issues worth fixing.
What's Inside a Sitemap File
You don't need to read or edit the raw file, but seeing the structure helps demystify it. A very simple sitemap looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com.au/</loc>
<lastmod>2026-06-01</lastmod>
</url>
<url>
<loc>https://example.com.au/services/</loc>
<lastmod>2026-05-20</lastmod>
</url>
</urlset>
Each <url> block represents one page, with <loc> giving its exact address and <lastmod> showing when it was last updated. A real sitemap for even a modest business site might list dozens of these entries, generated and updated automatically every time you publish or edit a page.
Types of XML Sitemaps
Most small business sites only need a standard page sitemap, but it helps to know the other types exist — especially if you sell products or publish a lot of images and video.
| Sitemap Type | What It Lists | Who Typically Needs It |
|---|---|---|
| Page sitemap | Standard web pages and posts | Every website |
| Image sitemap | Images hosted on your pages | Photographers, real estate, product-heavy sites |
| Video sitemap | Video content and metadata | Sites with substantial video libraries |
| News sitemap | Recent news articles | Publishers approved for Google News |
For most trades, clinics, law firms and local retailers, a standard page sitemap covering your core pages, services and blog posts is all you need. Your SEO plugin usually handles this without any extra configuration.
How to Submit Your Sitemap in Google Search Console
Google can often find your sitemap without being told — but submitting it directly through Google Search Console is quick, free and removes the guesswork. It also gives you visibility into any pages Google struggled to read.
- Sign in to Google Search Console and select your website property.
- In the left-hand menu, open Indexing, then click Sitemaps.
- Enter your sitemap address — usually just
sitemap.xml— in the "Add a new sitemap" field. - Click Submit.
Once submitted, the Sitemaps report will show its status and roughly how many URLs were discovered. It's worth checking back occasionally, particularly after adding a batch of new pages, to confirm Google has picked them up. If you haven't set up Search Console at all yet, our Google Search Console guide walks through the basics from scratch.
Your sitemap and your robots.txt file work as a pair — robots.txt tells crawlers what they're allowed to access, and your sitemap tells them what's actually there worth visiting. Getting one right without the other leaves gaps, so it's worth checking both together.
Common Sitemap Mistakes to Avoid
A sitemap that's present but poorly maintained can do more harm than good. Watch out for:
- Listing pages that redirect or return errors. A sitemap full of broken or redirected URLs wastes crawl attention and can look untidy to Google.
- Excluding pages you actually want indexed. This happens when a plugin setting or a "noindex" tag accidentally hides a page from the sitemap.
- Conflicting signals with canonical tags. If a page's sitemap entry doesn't match its preferred canonical URL, it sends Google mixed messages — our canonical tags guide covers how to keep those aligned.
- Never checking it again after launch. A sitemap should update itself automatically as your site changes, but it's still worth a glance every few months to confirm it's healthy.
These are the kind of small, easy-to-miss issues covered in our broader SEO mistakes to avoid guide, alongside other technical slip-ups that quietly hold sites back.
Key Takeaways
- An XML sitemap is a file that lists your site's pages so search engines can discover them more reliably.
- It matters most for larger sites, new sites, and pages that aren't well linked internally.
- WordPress SEO plugins like Yoast and Rank Math generate one automatically, usually at yoursite.com.au/sitemap.xml.
- Submit it through the Sitemaps report under Indexing in Google Search Console.
- Keep it clean — no broken links, no accidentally excluded pages, and no conflicts with your canonical tags.
Frequently Asked Questions
Do I need an XML sitemap for a small website?
Even a small site benefits from having one, since it costs nothing and your SEO plugin generates it automatically. It matters less for a five-page brochure site with strong internal linking, but it becomes genuinely useful the moment you add a blog, a larger product catalogue, or location pages that aren't in your main menu.
Does an XML sitemap improve my Google rankings?
Not directly. A sitemap helps Google discover and crawl your pages, but it has no bearing on how well those pages rank once found. Rankings still come down to content quality, relevance and the usual on-page and technical SEO factors.
How do I create an XML sitemap on WordPress?
Install and activate an SEO plugin such as Yoast SEO or Rank Math, and it will generate and maintain your sitemap automatically. You don't need to write or edit the file yourself, and it updates whenever you publish or remove pages.
Where exactly can I find my sitemap URL?
Try visiting yoursite.com.au/sitemap.xml or yoursite.com.au/sitemap_index.xml in your browser. Most WordPress SEO plugins use one of these two addresses by default, and either will display the file or a readable index of your sitemap sections.
What's the difference between a sitemap and robots.txt?
A sitemap lists the pages you want search engines to find, while robots.txt tells crawlers which parts of your site they're allowed to access at all. They serve opposite but complementary purposes, and a well-configured robots.txt file often includes a direct link to your sitemap.
How often does my sitemap update?
If it's generated by a plugin, it updates automatically whenever you publish, edit or remove a page — there's nothing to do manually. Google also re-crawls your sitemap periodically on its own schedule, rather than instantly after every change.
Can too many pages in a sitemap cause problems?
A single sitemap file can hold many thousands of URLs, so this is rarely an issue for a small business site. If you ever exceed the limit, your SEO plugin will automatically split it into multiple files linked from one index.
What should I do if Google reports errors in my sitemap?
Check the specific URLs flagged in the Sitemaps report in Search Console — common culprits are pages that now redirect, return an error, or are blocked by robots.txt. Fixing or removing those entries and resubmitting the sitemap usually resolves it.
Get Your Technical SEO Sorted
An XML sitemap is a small piece of a much bigger technical picture, but it's one of the easiest wins available — set it up once, correctly, and it keeps working in the background. If you'd like a proper look at how your site is performing for search, including your sitemap, robots.txt and everything in between, have a chat with Pixel and Pine. We'll tell you plainly what's working and what needs fixing.


