After a site migration, verify sitemap URLs in two layers: first check that each sitemap file is live, accessible, parseable, and correctly located; then inspect its entries for lingering pre-migration URLs and sample whether those URLs load without a redirect. Review sitemap errors and indexed-page trends separately: a clean sitemap file is not, by itself, a ranking or indexing result.
Summary
- Find the sitemap files the migrated site currently uses, and check for old sitemap references in
robots.txtor a sitemap index where applicable. - Check each file’s access, XML formatting, and relationship between its location and the URLs it lists.
- Review lingering old URLs and migration reports as separate signals; neither a clean file nor a trend guarantees lasting search presence.
Identify the live sitemap files for the migrated site
Start by finding the sitemap files the migrated site currently uses, then check whether any references still point to an old sitemap location. A sitemap’s location matters because it affects which URLs can be included in that file, so include the file’s host, scheme, and directory in your audit.
Begin with the sitemap locations already in use for the migrated site. If the site uses robots.txt or a sitemap index to direct crawlers to its sitemap files, inspect those references too. According to Lumar, a site that relies on robots.txt or a sitemap index alert method should update references to old sitemap URLs.
- List the sitemap files currently used for the migrated site, including any sitemap index that points to other files.
- Check
robots.txtand any sitemap index the site uses for references to sitemap locations. - Record which listed locations are current and which still refer to the pre-migration site. Include each file’s scheme, host, and directory in your notes.
Treat each sitemap location as part of the audit, not as a disposable detail. A file may be reachable at a particular location while its contents do not fit the location’s directory, host, or scheme. Those relationships are checked separately below.
If an old sitemap reference remains in a mechanism the site relies on, account for it in the audit and update the reference to the new sitemap URL. Keep the scope clear: this step identifies the files and references to review; it does not establish whether every listed destination is eligible for indexing.
Sitemap Audit: Find URLs That Respond Successfully but Aren’t Indexable→Check that each sitemap file can be fetched and parsed
Each sitemap file should be available to crawlers and parseable; a blocked or invalid file may be ignored. Check access and file-level errors before interpreting what the sitemap’s entries mean.
For each live sitemap, check whether the file can be fetched and whether crawler access is blocked in robots.txt. Then review the XML formatting for tag errors or parsing problems. Also check that each sitemap or sitemap index contains no more than 50,000 URLs and is no larger than 50 MB. Lumar explains that crawlers need to fetch a live sitemap and parse its contents to discover pages; blocked files and invalid formats can prevent that process.
- Open or otherwise fetch each sitemap location and record whether the file is available.
- Check whether
robots.txtcontains a rule that blocks crawlers from accessing the sitemap file. - Review the XML for tag-formatting errors and parsing failures. Check that each sitemap or sitemap index contains no more than 50,000 URLs and is no larger than 50 MB. Record the file affected and the issue found.
- For an important broken sitemap, correct the issue, make the file live with an HTTP 200 status code, and ensure its contents follow current Sitemap best practice, as Lumar advises.
Keep these findings at the file level. A sitemap that cannot be fetched, is blocked, or has malformed XML has a different problem from a file that loads and parses but contains URLs that need a separate review. Fixing a file-level issue gives crawlers access to a usable sitemap; it does not by itself establish the status of every page listed in it.
Compare sitemap locations with the URLs they contain
Compare each sitemap’s directory, host, and HTTP scheme with the URLs inside it. Location is not just where a file happens to sit: it constrains which URLs can be included in that sitemap, according to Lumar.
Use the table to record the relationship between each sitemap file and its listed URLs. It describes location checks, not a broader assessment of each destination.
| Compare | What to check |
|---|---|
| Directory | If the sitemap is in a directory, check that its listed URLs are from that same directory. |
| Host | Check that the URLs in the sitemap use the same host as the sitemap file. |
| HTTP scheme | Check that the URLs use the same scheme as the sitemap file, such as HTTP or HTTPS. |
For example, after a move from HTTP to HTTPS, compare the scheme of the live sitemap with the schemes of its entries. If the sitemap file is hosted on the new HTTPS site, note entries that still use HTTP as a scheme mismatch for review.
Record each mismatch against the sitemap file where it appears, noting whether it concerns the directory, host, or scheme. Keep the comparison focused on the file’s location and its listed URLs rather than treating it as a complete verdict on the destinations.
Look for pre-migration URLs that remain in the sitemap
After a migration, inspect sitemap entries for URLs that still use the old scheme or otherwise appear to belong to the pre-migration version. Sample entries and check whether they load without a redirect; record what you find without treating that check as a full eligibility verdict.
An HTTPS migration changes URLs from HTTP to HTTPS, as Outspoken Media describes.
- Review the live sitemap entries for URLs using the pre-migration scheme, especially HTTP entries after a move to HTTPS.
- Sample listed URLs and check whether each sampled URL loads without a redirect.
- Record the URL and the observed redirect behavior, along with the sitemap file where the entry appears.
- Use the recorded results to identify entries that need review; keep this separate from the file-level access and XML checks.
The sample gives you a practical way to spot lingering old entries, but keep the conclusion proportional to what you checked. Record the behavior of the URLs you sampled; do not treat those observations as a verdict on every sitemap entry.
A URL that redirects is a finding to investigate in the sitemap audit. The check described here is whether the sampled URL loads without a redirect, not whether a redirect guarantees a particular indexing or ranking outcome.
Review sitemap reports after the migration
Review the Sitemaps report for errors after the migration, and watch the indexed-page counts for the old and new versions as separate trends. Those reports can help you follow migration signals, but a trend is not a guarantee about what will happen to every URL.
For an HTTPS switch, Outspoken Media advises monitoring the Sitemaps report for errors. It also describes a pattern in which indexed pages for the HTTP version drop while indexed pages for the HTTPS version increase. Treat that pattern as something to watch, not as a promised outcome.
- Review the Sitemaps report for errors associated with the migration.
- Keep an eye on the reported indexed-page counts for the old and new versions.
- Record the direction of change and any report errors separately from the results of checking individual sitemap entries.
Separate report-level observations from URL-level checks. A report can show errors or a change in page counts; a sampled URL check tells you whether that particular URL loaded without a redirect. They answer different questions, so avoid using one as a substitute for the other.
The old-version count dropping while the new-version count rises is a migration trend described for HTTPS, not a guaranteed sequence or endpoint. Use it as a signal to review alongside sitemap errors and your file and entry checks.
Keep sitemap discovery checks distinct from indexing progress
Sitemap checks establish whether crawlers can access and parse the files, whether the files’ locations fit their listed URLs, and whether sampled entries show lingering old URLs or redirects. Review indexing reports separately: sitemap discovery and indexed-page trends are related migration signals, not proof of lasting search presence or rankings.
A live, parseable sitemap can help crawlers discover pages, according to Lumar. That is what the file audit covers: whether the sitemap can be fetched and parsed, whether its location matches its contents, and what you observed when sampling entries.
Use the results to keep the migration review organized. File-level errors tell you which sitemap needs attention; location comparisons show how a file relates to its entries; sampled URLs show whether those particular entries load without a redirect; and the Sitemaps report and indexed-page counts provide broader migration signals.
A clean sitemap is useful evidence about the sitemap itself and its role in discovery. It is not a promise that listed pages will be indexed, remain indexed, or rank in a particular way.
Article updated on November 23, 2026.
Sources
- Website Migration With URL Changes (sitemaps and redirect question)
- How to Check XML Sitemaps are Valid - Lumar
