The last-changed dates in your sitemap cannot be trusted
Every page in your sitemap claims the same last-changed date, or some dates are impossible. Why search engines stop believing dates like these, and the honest fix.
Somebody rebuilt the site on a Tuesday, and every page in the sitemap now says it changed on that Tuesday. The privacy policy, the product you discontinued, the home page: same date.
The report reads that as “Every last-changed date in the sitemap is the same”. Its sibling, “Some last-changed dates are impossible”, means dates in the future or before 2000.
Why it matters
Each <lastmod> in a sitemap tells crawlers when that page last changed, so they can skip what has not. Google’s rule is short: it “uses the <lastmod> value if it’s consistently and verifiably (for example by comparing to the last modification of the page) accurate”, and the date “should reflect the date and time of the last significant update to the page”. A file where every date is the same fails that test on sight. A file with one impossible date makes the rest harder to believe.
This is a Medium priority note. Your pages still get found. The dates just stop helping.
Where to fix it
If every date matches your last deploy, the build is writing them. Look in the sitemap generator, not in the pages.
Then pick one:
- Use real dates. Set each page’s
<lastmod>from its own last real change. WordPress’s sitemap can carry a post’s own modified date; WordPress’s announcement shows the filter that adds it. - Leave them out. Leaving the dates out is better than leaving them wrong. A sitemap without
<lastmod>is still a valid sitemap.
For impossible dates, find the ones in the future or before 2000 and correct them. A date format the generator misread is the likeliest cause.
Who makes the change
Whoever edits your site, or the developer who set up the build.
A note for your developer
A ClearReadout check found [every lastmod in the sitemap is the same date / some lastmod dates are impossible] at [https://example.com/sitemap.xml].
Could you have the sitemap use each page's real last-changed date, or drop lastmod if real dates are not available?
Check again
Run Check again from your report once the sitemap is rebuilt. Or check your page.