This guide has been merged into our complete reference: After Website Restoration: The SEO and QA Checklist.
Rebuild a sitemap from the verified restored-page inventory, not from every address found in an archive download. Include the approved public destinations you want discovered, then check them against actual responses and canonical decisions. Submission is a discovery hint, not proof that every page is indexed.
When the site matters and the evidence is scattered, our professional website recovery rebuilds it from archives, backups and exports into a working website. Need a different setup? See our Wayback Machine to WordPress restoration.
Define the eligible page set
Separate published public content from drafts, test copies, private endpoints and utility pages. Identify the canonical destination for each eligible page in the approved URL map. Avoid exporting archive replay addresses or staging URLs into the live sitemap.
Do not use this exercise as automatic permission to exclude pages from search. If an existing page’s indexability needs changing, make that a separate owner decision supported by evidence. A missing sitemap entry and a noindex directive are different things.
Check for pages that were approved and reconstructed but never connected to the current inventory. The sitemap audit should surface that discrepancy instead of silently omit them.
Compare inventory and output in both directions
Collect the actual sitemap or sitemap index and the URLs in its child files. Compare them with the eligible-page list. There are two questions: which approved pages are absent, and which sitemap addresses do not belong to the approved set?
A raw count cannot answer either question. Two lists can have equal lengths and different destinations. Compare exact addresses first, then investigate variants with the URL map rather than remove slashes or parameters indiscriminately.
For each mismatch, record the address, expected page, observed sitemap state and proposed resolution. Keep unresolved entries visible until the owner or responsible developer makes the necessary decision.
A small reconciliation example
This is a synthetic example, not a current site finding. An approved inventory contains a restored article at /guides/recovery/. The sitemap instead contains /guides/recovery.html, while both lists contain the same total number of URLs.
The count appears correct, but the address does not agree. Check which path serves the approved content and which one owns the canonical role. Correct the sitemap generation or inventory only after establishing that evidence. Do not rename the article just to match the generated output.
A second mismatch might be a stale sitemap entry for a missing download page. That needs a content or URL decision, not simply another sitemap submission.
Verify response and canonical consistency
Open priority sitemap URLs while logged out. Confirm the expected page content and inspect redirects, canonical references and unintended robots restrictions. Where a sitemap names a redirecting variant, reconcile it with the intended final public destination.
Google advises consistent canonical preferences across the signals supplied by the site. The sitemap should support the approved canonical map, not contradict it.
An unavailable page or a successful-status error message does not pass simply because the XML is valid. Validate the destinations as well as the file format.
Use modification dates honestly
Keep capture dates in the recovery provenance record. Do not automatically copy them into lastmod or set every page to today’s date to appear fresh. Establish the actual significant update represented by the sitemap field.
Google’s sitemap guidance says it uses lastmod when consistently accurate and reflective of significant page updates. It also says it ignores priority and changefreq. Those fields are not substitutes for useful content or measured crawl evidence.
If the system cannot provide a reliable modification date, ask the responsible developer for an accurate approach rather than invent one. A new restoration and a historical publication date can be documented separately.
Inspect existing generation before replacing it
Many content systems already generate a sitemap. Review that output and its page-selection behavior before adding a second generator or resetting SEO settings. A single omitted article may have a page-specific explanation.
When a correction is approved, preserve the prior output and settings reference. Make the smallest necessary change, check the generated files and rerun the inventory comparison. Do not make global plugin changes solely because a historical audit suggested them.
Record submission, processing and indexing separately
After authorized submission, retain the submitted address and date. Check the search dashboard’s reported access or processing results where available. Google describes sitemap submission as a hint and does not guarantee that it will download or use the file.
Indexing requires separate page-level evidence. A sitemap marked processed does not mean all listed pages are indexed, and an indexed page is not proof of strong rankings. Monitor important URLs and unresolved discrepancies rather than repeatedly submit the same file without a reason.
Repeat the comparison after later content batches or changes to sitemap generation. The URL acceptance checklist provides the underlying preservation checks; sitemap QA ensures the site’s discovery output reflects those verified destinations.
Does a sitemap replace internal links?
No. Visitors still need meaningful navigation and contextual routes. Use the sitemap as complementary discovery information, not a reason to leave restored pages disconnected.
How to rebuild a sitemap step by step
- Start from the approved page list for the restored site, not from the archive’s full URL list.
- Remove pages that should not be indexed, such as thank-you pages, test pages, search results and private areas.
- Confirm each URL returns a 200 status and is the final address, not one that redirects.
- Check that each URL’s canonical tag points to itself.
- Generate the sitemap with your platform or SEO plugin, or as a static file for an HTML site.
- Reference it in robots.txt and submit it in Search Console.
- Review the sitemap report after processing to see discovered URLs and any errors.
Mistakes that make a rebuilt sitemap less useful
- Listing every historical URL, including those that now redirect or return errors.
- Including both www and non-www, or http and https, versions of the same pages.
- Setting every modification date to today, which removes the signal dates are meant to give.
- Forgetting to update the sitemap when pages are added or retired after launch.
Keeping the sitemap accurate after launch
A rebuilt sitemap is only useful while it reflects the live site. On WordPress, SEO plugins update the sitemap automatically when posts and pages are published or removed, but they can include unwanted content types, such as attachment pages or tags, unless those are switched off. On static sites, the sitemap file must be regenerated whenever pages change.
Once a month, compare the sitemap with a crawl of the site. Any URL listed in the sitemap that redirects or returns an error should be removed, and any important page missing from it should be added. In Search Console, watch the sitemap report and the page indexing report together; they show whether submitted pages are being discovered and indexed.
For multilingual or very large sites, a sitemap index that splits URLs by language or section makes errors easier to spot, because each file’s report shows its own discovered and indexed counts.
More questions about how to rebuild a sitemap
Do I need separate sitemaps for posts, pages and images?
Not necessarily. Many SEO plugins create a sitemap index with separate files automatically. For smaller sites, a single file is fine.
How often should the sitemap be resubmitted?
Submitting once is usually enough. Search engines recheck it regularly, so keeping it accurate matters more than resubmitting.


