How to publish a sitemap

A sitemap lists your pages so search engines find them all.

Why it matters

Search engines find pages by following links. Pages that are new, deep or poorly linked can go unnoticed for weeks. A sitemap lists them all in one place.

Steps

  1. Most website platforms and plugins generate /sitemap.xml automatically. Turn that feature on.
  2. Add a line to robots.txt: Sitemap: https://yoursite.com/sitemap.xml.
  3. Submit the sitemap in Google Search Console.

For your developer

Sitemap: https://yoursite.com/sitemap.xml

Check it worked

Open yoursite.com/sitemap.xml and check it lists your real pages. In Search Console, the sitemap status should read "Success".

Generate a sitemap See all 24 fix guides

Not sure if this affects your site?

Run a free scan to see exactly which of these your website needs.