Skip to main content
Boletolibre

Pages missing from a sitemap after a CMS migration: reconcile the URL list

After a CMS migration, a published page may be missing from the new XML sitemap even though its old URL appeared in the previous one. A raw before-and-after count is not enough: some old URLs moved or were intentionally retired. Start with the pages that should be public, canonical and discoverable now, compare them with the sitemap visitors and crawlers can actually fetch, and fix only the unexpected gaps.

Boletolibre editorial team

Published

A sitemap reconciliation flow: expected current URLs compared with the public XML sitemap, separating missing, stale and intentionally omitted URLs.
Compare intended current URLs with the published sitemap; every difference needs a reason before editing the generator.

Define the missing-page problem precisely

A sitemap lists URLs a site owner wants search engines to discover; it is not a complete inventory of every CMS record. A page can be omitted on purpose because it is private, a draft, retired, or represented by a preferred URL elsewhere. Google says a sitemap can help discovery but does not guarantee crawling or indexing. Therefore, first decide whether the missing page belongs in the current public sitemap at all.[1][2]

Separate three observations: a page exists in the CMS, the page is reachable on the public site, and its chosen URL is in the public sitemap. They can disagree after a migration. The repair for an unpublished page is different from the repair for a correct public page excluded by a generator rule. Do not add private checkout, account, preview or duplicate URLs merely to make a count match.[1][2]

URL decisionExpected in new sitemap?Next action
Current public canonical pageYesCheck page state and generator if absent
Old URL permanently redirected to a new pageNew destination, not old URLCheck mapping and destination
Retired or private pageNoRecord intentional omission
Duplicate URL with another preferred canonicalPreferred URL onlyResolve canonical choice

Build an expected list from the migration map

Use the old-to-new URL map, content inventory and editorial decision for each page. Mark each old page as retained at a current URL, redirected to a relevant new URL, or intentionally retired. For retained pages, record the full preferred current URL, including host, HTTPS scheme, path and locale. Google’s migration guidance calls for a new-URL sitemap and updated internal links; an old URL that redirects should not be treated as a missing new sitemap entry.[3][2]

Start with a bounded sample: a homepage or section page, one ordinary page, one page from each migrated content type, and each language that matters. Then expand to the full export if the site is large. Compare sets of exact URLs rather than only totals. A lower count may be correct if duplicates or retired pages were removed; an identical count can still conceal a missing section and stale old-host entries.[3][2]

Read the actual public sitemap, not an admin preview

Open the public sitemap URL in a normal browser session. If it is a sitemap index, follow the child sitemap that should contain the page. Record the URL, fetch time, response status, and whether the response is XML, an HTML fallback or a redirect to another host. Google supports sitemap indexes and requires absolute URLs; it says it attempts to crawl URLs exactly as listed. A path or hostname mismatch is substantive, not a cosmetic difference.[2][6]

Search the fetched XML for the exact preferred URL. If absent, check whether a sibling page of the same content type and locale is present. If the admin preview shows the URL but the public response does not, compare the generated file or endpoint with the served copy before clearing caches. If the entire child sitemap is missing, trace the sitemap index and publishing configuration rather than editing one page record.[2][6]

Check the page before blaming the generator

Open the public page itself. Is the current URL a working page, a redirect, a 404, or a protected route? Check its rendered canonical and any noindex directive. Google recommends listing the canonical URLs you want shown in results. A noindex directive asks Google not to index a page; a CMS may also use it to exclude a page from its sitemap, but that generator behavior is platform-specific. Do not assume noindex alone explains the omission without checking the active generator.[4][5][2]

Resolve an ownership conflict before changing sitemap rules. If the page was meant to move, the old URL should map to its relevant successor and the successor may belong in the sitemap. If the page was intentionally private or retired, leave it out and document the decision. If a public page is accidentally draft, protected, canonicalized to the wrong URL or noindexed, correct that page state first and then examine its sitemap entry.[4][5][2]

Use the pattern of omissions to find the owner

One missing page suggests its publication state, slug, canonical choice or per-page exclusion. A whole content type, language or directory missing after a CMS move points toward a generator scope or publishing rule. Old hostnames throughout the XML point toward a site-base URL or stale output. A difference between fresh generated XML and public XML points toward the delivery layer. These are diagnostic patterns, not proof of a specific plugin defect.[2][3]

Identify which system publishes the active sitemap: the CMS, a plugin, a build process or an edge-served file. Keep a record of the owner, configuration and last publish time. Change one confirmed cause at a time. Avoid switching sitemap providers or disabling an existing generator as a first repair; that can remove unaffected URLs.[2][3]

Correct one cause and regenerate deliberately

For a valid public page wrongly omitted, restore its publication and canonical intent or include its type in the active generator according to that platform’s supported control. Rebuild or republish the sitemap and inspect the public XML again. For a moved page, update the map and internal links to its new URL. For an intentionally omitted page, record “expected omission” in the worksheet; there is no missing-URL bug to fix.[2][3]

If the generated output is correct but the public response is older, identify the cache or static publishing step and refresh only the affected sitemap endpoint. Avoid adding a URL by hand to one generated file that will be overwritten next publish. Before changing a shared rule, preserve the current setting and check a known-good sibling URL so the fix does not broaden the sitemap to private or duplicate content.[2][3]

Copy the sitemap reconciliation worksheet

Copy one row per old-to-new mapping or suspected missing current URL. The “expected decision” column is essential: it distinguishes a true omission from an intentional retirement. Record the exact public sitemap or child file inspected and one sibling in the same cohort. Redact private query strings and access tokens before sharing the worksheet.

FieldRecord
Old URL and current preferred URLFull host, scheme, path, locale
Editorial decisionRetain / redirect / retire / private
Public page evidenceStatus, canonical, noindex, checked time
Sitemap evidenceIndex URL, child XML URL, status, fetch time
Difference and cohortMissing / stale / expected omission; sibling URL
Publishing owner and causeCMS / plugin / build / edge; rule or version
Change and rollbackSmallest fix, owner, old setting
Public verificationPage, XML, neighboring type, locale, follow-up

Verify discovery signals without promising indexing

Fetch the sitemap again from the public URL after publication. Confirm the intended current URL appears once in the appropriate child sitemap, old-host URLs are not accidentally left in the new sitemap, and intentionally excluded routes remain out. Open the page and verify that its public response, canonical, noindex state and internal links agree with the decision. Recheck at least one unaffected page type and locale.[1][6]

Use Search Console’s Sitemaps report to see submission and processing information, then use URL Inspection for a specific page when needed. A “submitted” sitemap or an included URL is not a guarantee of indexing or search visibility. Search engines need time to fetch updated files and pages. Record the public fetch time, change owner and follow-up check instead of repeatedly resubmitting an unchanged sitemap.[1][6]

Sources and further reading

  1. Learn about sitemapsGoogle Search Central · Accessed
  2. Build and submit a sitemapGoogle Search Central · Accessed
  3. Site moves and migrationsGoogle Search Central · Accessed
  4. How to specify a canonical URLGoogle Search Central · Accessed
  5. Block Search indexing with noindexGoogle Search Central · Accessed
  6. Sitemaps reportGoogle Search Console Help · Accessed