Sub topic 14
Update sitemaps and request recrawling
After a merge, refresh or removal, search engines still hold the old picture of your site. Google's index contains the old URLs, the old content and the old link graph until its crawler visits again. This chapter covers how to tell crawlers what changed and how to check that they noticed. I assume you have already redirected or canonicalized the affected URLs, as covered in earlier chapters, and that you can read the Sitemaps and Page indexing reports in Search Console.
What you can and cannot control
You cannot force a recrawl. You can make changed URLs easy to find, and you can make the signals consistent. Crawl frequency depends on how popular a URL is, how often it has really changed, and how fast your server responds. A page that has been stable for two years may wait weeks for a visit, even after a major rewrite.
Three channels carry your signals:
- The XML sitemap lists the URLs you want indexed and when each one last changed.
- Internal links and redirects are what the crawler follows. They are usually the strongest signal.
- Search Console tools such as URL Inspection give a manual nudge for a handful of URLs.
Rules for a sitemap after a change
A sitemap is a list of canonical URLs you want indexed. After consolidation, apply these rules.
- List the surviving URL. If three posts were merged into
/guides/seo-checklist/, only that URL belongs in the sitemap. - Remove redirected, removed and noindexed URLs. A sitemap that lists 301s, 404s or
noindexpages sends mixed signals and wastes crawl attention. - Use the same URL form as the canonical tag. The scheme, host, trailing slash and case must match exactly. If the sitemap says
http://and the canonical sayshttps://, you are contradicting yourself. - Set
lastmodhonestly. Update it only when the content has meaningfully changed, not when a footer or a sidebar widget changes.
Here is the surviving page as it should appear:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/guides/seo-checklist/</loc>
<lastmod>2026-11-20</lastmod>
</url>
</urlset>Google has said it uses lastmod when it proves consistently accurate and ignores priority and changefreq. If you stamp every URL with today's date on each build, crawlers learn that your dates mean nothing and stop trusting them. That undoes the benefit for the pages that really did change.
A sitemap file is limited to 50,000 URLs and 50 MB uncompressed. Larger sites split the list into several files and reference them from a sitemap index. A useful habit is to split by content type, for example guides and blog posts. The Sitemaps report in Search Console then shows indexing coverage per section.
Reference the sitemap in robots.txt so every crawler can find it:
User-agent: *
Disallow:
Sitemap: https://example.com/sitemap.xmlThe old-URL sitemap tactic
There is one exception to the rule about leaving redirected URLs out. For a short period after a large merge, some teams publish a temporary second sitemap that lists only the retired URLs. Crawlers then revisit them, see the 301 and process the move sooner. It is a discovery aid, not a permanent state. Keep it separate from the main sitemap so the main one stays clean. Delete it once the old URLs have dropped out of the Page indexing report.
The old URLs must stay crawlable for this to work. If robots.txt blocks them, the crawler never sees the redirect, and the old URL can stay in the index with no way to learn that it moved.
Verify before you submit
Check the sitemap against the live site before asking anyone to crawl it. The script below fetches a sitemap and reports every listed URL that does not return a plain 200. It does not follow redirects, so a 301 is reported as a 301. It handles a single urlset file, so run it on each file of a sitemap index.
import sys
import urllib.error
import urllib.request
import xml.etree.ElementTree as ET
NS = {"sm": "http://www.sitemaps.org/schemas/sitemap/0.9"}
class NoRedirect(urllib.request.HTTPRedirectHandler):
def redirect_request(self, *args, **kwargs):
return None # report 3xx responses instead of following them
opener = urllib.request.build_opener(NoRedirect)
def check(url):
request = urllib.request.Request(url, method="HEAD")
try:
with opener.open(request, timeout=10) as response:
return response.status, None
except urllib.error.HTTPError as err:
return err.code, err.headers.get("Location")
except urllib.error.URLError as err:
return None, str(err.reason)
def main(sitemap_url):
with urllib.request.urlopen(sitemap_url, timeout=10) as response:
root = ET.fromstring(response.read())
urls = [loc.text.strip() for loc in root.findall("sm:url/sm:loc", NS)]
problems = 0
for url in urls:
status, detail = check(url)
if status != 200:
problems += 1
print(f"{status} {url} {detail or ''}")
print(f"{len(urls)} URLs checked, {problems} problems")
if __name__ == "__main__":
main(sys.argv[1])Run it as python check_sitemap.py https://example.com/sitemap.xml. Any line it prints is a URL to fix or remove from the sitemap. Some servers answer HEAD requests differently from GET. If you see unexpected 405 responses, switch the method to GET.
Submit the sitemap and watch the report
In Search Console, open the Sitemaps report and submit the sitemap URL once. After that, Google rereads it on its own schedule, and there is no need to resubmit after every edit. The report shows the last read date, the status and the number of discovered URLs. If the status is "Couldn't fetch" or shows parsing errors, fix those first.
Google's old "ping" endpoint for announcing a changed sitemap has been retired. Do not build automation around it. Bing and some other engines support IndexNow, which pushes changed URLs to participating engines directly. Google does not use it.
Request indexing for key URLs
For the few URLs that matter most, use the URL Inspection tool.
- Paste the surviving URL and read the "Page indexing" result.
- Select "Test live URL" to confirm that Google can fetch the page and sees the content you expect.
- Select "Request indexing."
The tool has a daily quota, so reserve it for the merged page and perhaps a few high-value redirects. Repeated requests for the same URL do not speed anything up. Inspecting an old, redirected URL is useful for a different reason. The report shows "Page with redirect" and the canonical Google selected, which confirms that the move was understood.
Do not use the Indexing API to speed things up. It is officially limited to job posting and livestream pages, and other uses are unsupported.
Monitor what happened
Check these reports over the following two to six weeks:
| Report | What to look for |
|---|---|
| Sitemaps | The sitemap was read after your change, and the discovered URL count matches your list. |
| Page indexing | Old URLs move to "Page with redirect." No surge in "Not found (404)" or "Crawled, currently not indexed" for the surviving page. |
| URL Inspection | The Google-selected canonical for the survivor is the survivor, not an old URL. |
| Crawl stats (Settings) | Crawl requests rose after the change, response times stayed normal, and there are no new 5xx spikes. |
If the Google-selected canonical differs from your declared canonical, the usual causes are that the merged page is much thinner than the pages it replaced, that internal links still point to old URLs, or that the redirects chain through several hops. Fix the cause. Requesting indexing again will not change the selection.
Common mistakes
- Setting every
lastmodto the build date. - Leaving retired URLs in the main sitemap permanently.
- Blocking old URLs in
robots.txtso redirects are never seen. - Submitting the same URL for indexing many times a day.
- Judging the result after three days. Recrawling and reprocessing a merge commonly takes weeks.
Exercise
After merging four articles into one guide and adding 301 redirects, a colleague proposes keeping all five URLs in the main sitemap "so Google finds everything," and requesting indexing for each one daily. What should you do instead?
Show answer
Keep only the guide's canonical URL in the main sitemap, with a lastmod set to the date of the real content change. If you want to speed discovery of the redirects, put the four old URLs in a temporary separate sitemap and delete it once they leave the index. Make sure robots.txt does not block the old URLs. Run the check script to confirm that the main sitemap returns only 200 responses. Request indexing once for the guide, and inspect an old URL to confirm that Google reports a redirect and selects the guide as canonical. Then wait and watch the Page indexing and Sitemaps reports instead of repeating requests.
Exercise
The check script prints 301 https://example.com/blog/seo-tips-2019/ https://example.com/guides/seo-checklist/ for a URL in your sitemap. What does it mean, and what is the fix?
Show answer
The sitemap still lists a retired URL that now redirects to the guide. Remove it from the main sitemap. The destination, /guides/seo-checklist/, should already be listed. If it is missing, add it.