Skip to content
Free website migration on every plan, done by our team.Learn more ›
Business

XML sitemaps explained (and how to submit yours)

What an XML sitemap is, what to include and leave out, how WordPress and static sites create one, and how to submit it to Google and Bing.

Short answer: An XML sitemap is a file that lists the pages you want search engines to find, usually at yourdomain.com/sitemap.xml. Include only real, indexable pages, keep it updated automatically and submit it in Google Search Console and Bing Webmaster Tools.

What belongs in a sitemap

  • Pages you want to appear in search results.
  • The final address of each page (https, no redirects).
  • An accurate last-modified date where possible.

What to leave out

  • Pages marked noindex.
  • Redirects, broken pages and duplicates.
  • Admin, login, search-result and thank-you pages.

How to create one

  • WordPress: core WordPress creates wp-sitemap.xml; SEO plugins create their own.
  • Static sites: most site generators create one; ours is generated with every build.
  • Large sites: split into several sitemaps listed in a sitemap index.

How to submit it

  1. Add the sitemap address to robots.txt with a Sitemap: line. See robots.txt.
  2. Submit it in Google Search Console.
  3. Submit it in Bing Webmaster Tools.

Frequently asked questions

Does a sitemap guarantee indexing?

No. It helps discovery, but search engines still decide which pages to index.

How often should it update?

Automatically, whenever you publish or change pages.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.