how to update a sitemap

How to update a sitemap

· About us · Last reviewed:

An old sitemap may no longer reflect your pages. Compare URLs and coverage before replacing it. An export from a small audit is not a complete sitemap for a large site.

Update steps

🔥 1. Back up and identify the source

Save your current sitemap and check whether your CMS or a plugin generates it. Fix dynamic generators in their settings; a static replacement may be overwritten.

🔥 2. Review differences

Check failed, redirected and non-indexable URLs in the audit. Compare candidates to add against a complete inventory of public pages from your CMS.

🔥 3. Prepare and validate XML

Download the audit draft. Verify the canonical HTTPS origin, completeness and intended indexing. Add missing pages; never replace the full inventory with an incomplete audit export.

🔥 4. Deploy and submit

After approval, publish through your site administrator. Verify the live XML and robots.txt declaration. Submit its URL in the matching Search Console property and monitor processing.

Sitemap audit and XML generation

Your sitemap should point to the right pages. Compare it with your audited site and download a clean XML draft.

Learn more about Sitemap audit and XML generation →

SEO

Practical guides

FAQ

How do I remove an old sitemap from Search Console?

Open its row under Sitemaps, then use the three-dot menu and Remove sitemap. This removes the submission, not the hosted file or pages from the index; Google can still discover it through robots.txt or links.

Do I need to change page URLs?

No. You are correcting the inventory, not your website URLs. Preserve correct existing addresses and redirects.

How often should I update it?

When an indexable page is added or removed, its canonical URL changes or significant content changes. Ideally automate through your CMS. Only set lastmod to an actual significant modification date for that specific page.