Skip to content

XML sitemap

An XML sitemap is a file that lists the pages on your website you want Google to know about. It usually lives at an address like example.com.au/sitemap.xml.

It helps Google find your pages, especially new ones and ones with few links pointing to them. It’s a hint, not a guarantee that every page gets indexed.

Most platforms create one for you:

Platform Usual address
WordPress (built in) /wp-sitemap.xml
WordPress (Yoast SEO or Rank Math) /sitemap_index.xml
Shopify /sitemap.xml
Wix /sitemap.xml
Squarespace /sitemap.xml

Type your domain followed by the address into your browser. You should see a list of links.

If you have a custom-built site with no sitemap, ask your developer to generate one automatically. It should list only the pages you want in Google, using their full addresses.

You only need to do this once. Google rechecks it on its own after that.

  1. Open Google Search Console and choose your site.
  2. In the left menu, select Sitemaps.
  3. Under Add a new sitemap, enter your sitemap address and select Submit.
  4. Check the Status column shows Success. If not, select the row to see what’s wrong.

You can also add a line to your robots.txt file pointing to it, for example Sitemap: https://www.example.com.au/sitemap.xml.

Build and submit a sitemap (Google Search Central)