A sitemap generator runs every night. Its timestamp advances, but a category page's buying information has not changed. Should every URL receive today's lastmod? Start with the page's change record, rather than the time the XML file was generated.
A real question, with a limited answer
A public TechSEO question asks whether an older lastmod on a category URL means the sitemap is broken. It separates the age of the sitemap entry from a meaningful change to that particular page. The discussion is historical demand evidence; commenters' explanations are not our technical authority.
https://www.reddit.com/r/TechSEO/comments/qf5kgx/does_this_mean_my_sitemap_is_not_being_updated/
Google's sitemap guidance says lastmod should represent a significant page update and be verifiably accurate. It distinguishes changes to main content, structured data or links from a copyright-date change. Google ignores changefreq and priority. These statements do not establish a page's actual history or promise a recrawl.
https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap
Supporting passage checked 6 November 2026. This is the check date, not the source publication date.
Build a change trail before editing XML
For the URL being reviewed, keep the proposed lastmod, the supplied change time, a change category and a reference to the original diff or editorial record. Retain the previous significant-change record separately. A build timestamp is useful operational evidence, but does not describe which page content changed. If no reliable page history exists, record that gap rather than reconstructing a date from today's deployment.
The accompanying six records are synthetic. Their example.invalid URLs, timestamps and evidence references are fictional; none measures MadRaven or a customer site.
A changes the main explanation, with the supplied change time matching the proposed timestamp. The exercise reports consistency between supplied fields, subject to a person opening the diff.
B changes only a copyright year and proposes a newer timestamp. That is not evidence of the relevant page update.
C changes a structured-data field but omits the diff reference. The missing provenance must be supplied before acceptance.
D changes page links; two timezone offsets describe the same instant. Compare instants rather than the clock text.
E changes an article body, but the proposed date differs from the supplied change time. Preserve the mismatch for review.
F reruns a build without an identified page change. Do not turn a successful build into a content-history observation.
Replay the narrow check
Keep check.py and filled-examples.json together and run:
python3 check.py filled-examples.jsonRun its counterexamples with:
python3 -m unittest -v test_check.pyThe checker accepts timezone-aware datetime strings for this exercise. A date-only lastmod can be valid in a real sitemap; this small checker deliberately does not implement that format or a complete XML validator. Its classifications describe supplied records. It cannot authenticate a diff, decide whether wording changes are substantial, or observe a crawler. It performs no network call or website edit.
Accept the handover in two steps
First, open the referenced page change and confirm the URL, scope and time. Then compare the approved sitemap output with that record, retaining both versions and the reviewer decision. If the generator advances every date on every run, the useful engineering task is to connect each page's lastmod to its approved change source. Agree the fallback for missing history before implementation. A timestamp alone does not establish discovery, indexing, ranking or AI citation.