Sub topic 8
Handle dates and freshness signals honestly
This chapter assumes you can read Search Console's Performance report, edit HTML, and publish in a CMS. It also assumes you have finished a real refresh of a page, as covered in the previous chapter. Dates and freshness signals describe that work to search engines and readers. They don't replace it.
What freshness signals are
A freshness signal is any information that tells a search engine or a reader when a page was published or last meaningfully changed. Common signals are:
- A visible date on the page, such as "Published 3 March 2022" or "Updated 20 November 2026".
- Structured data fields such as
datePublishedanddateModified. - The
lastmodvalue for the URL in your XML sitemap. - The HTTP
Last-Modifiedheader. - The content itself: current years, current product names, current screenshots, and references to recent events.
Search engines combine these with their own observations. Google compares what a page declares with what it sees when it crawls, so a changed date on an unchanged page gives it nothing new to rely on.
Freshness matters unevenly. For a query like "election results" or "iPhone release date", recent content is expected, and an old page loses ground. For a query like "how to tie a bowline", an old page can rank for years. Check the results for your target query before you spend effort on dates. If the top results are all recent, a stale date is a real problem. If they are mixed, a date change will not help.
Why fake freshness fails
The temptation is to change the date and nothing else. This fails for several reasons.
- Google says it tries to ignore date changes that are not backed by meaningful updates. Its guidance on dates also says to show a date only when it is useful, and to make the visible date match the structured data.
- Readers notice. A page dated this month that tells them to install software that no longer exists loses trust and clicks.
- A pattern of constant date bumps makes your own
lastmodvalues unreliable. Search engines can learn to discount a sitemap that is always wrong.
A meaningful change is one a reader would care about. Examples are corrected facts, replaced screenshots, a new section that answers a question the page missed, updated prices or version numbers, and removed advice that no longer applies. Fixing a typo, changing a button colour, or rotating a sidebar widget is not meaningful.
Choose what to show: published, updated, or both
Show the original publish date and the last meaningful update date together when the page has been substantially revised. This is the most honest and the most useful presentation. For example: "Published 3 March 2022. Updated 20 November 2026."
Rules of thumb:
- Keep the original publish date fixed forever. It is history.
- Change the updated date only when you make a meaningful change.
- For evergreen pages where the date does not help the reader, you can omit the visible date. Keep the structured data accurate anyway.
- If the page has a change log, link to it or list the changes briefly. A short note such as "Updated November 2026: replaced the screenshots and rewrote the section on redirects" is evidence a reader can check.
Keep every date consistent
The date a reader sees, the date in structured data, and the date in the sitemap should agree. Disagreement is the most common technical mistake here, usually caused by a CMS that updates one field on every save and another only on request.
This JSON-LD block shows the structured data side. It uses ISO 8601 dates and the Article type.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "SEO Checklist",
"datePublished": "2022-03-03T09:00:00+00:00",
"dateModified": "2026-11-20T14:30:00+00:00",
"author": {
"@type": "Person",
"name": "Jordan Lee"
}
}
</script>Include a time zone offset. Without one, the date can be read in the wrong zone and can appear to be a day off.
The sitemap entry from the consolidation work uses the same date:
<?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 is consistently accurate and ignores it otherwise. It has also said it ignores priority and changefreq. So the single useful rule is that lastmod changes only when the page content changes in a way that matters.
Where dates come from in a CMS
Most CMSs record a "modified" timestamp that updates on every save, including saves that change nothing visible. If your sitemap and structured data read that field directly, they will report constant changes. Check these points:
- Which field feeds
dateModifiedandlastmod? - Does a bulk edit, a plugin update, or a category rename touch it?
- Can an editor mark an edit as minor so the date stays put?
If the answer to the first question is "the automatic modified timestamp", consider adding a separate "last meaningful update" field that editors set deliberately. Then point the visible date, the structured data, and the sitemap at that one field.
Audit your own dates with a script
You can find mismatches across a site by comparing the visible, structured, and sitemap dates. The script below reads a sitemap and a page, then reports whether the dateModified in the page's JSON-LD matches the sitemap lastmod day. It uses only the standard library.
import json
import re
import sys
import urllib.request
import xml.etree.ElementTree as ET
NS = {"sm": "http://www.sitemaps.org/schemas/sitemap/0.9"}
LD_JSON = re.compile(
r'<script type="application/ld\+json">(.*?)</script>',
re.DOTALL | re.IGNORECASE,
)
def fetch(url):
with urllib.request.urlopen(url, timeout=15) as response:
return response.read().decode("utf-8", errors="replace")
def sitemap_lastmods(sitemap_url):
root = ET.fromstring(fetch(sitemap_url))
result = {}
for node in root.findall("sm:url", NS):
loc = node.findtext("sm:loc", namespaces=NS)
lastmod = node.findtext("sm:lastmod", namespaces=NS)
if loc and lastmod:
result[loc.strip()] = lastmod.strip()[:10]
return result
def page_date_modified(page_url):
for block in LD_JSON.findall(fetch(page_url)):
try:
data = json.loads(block)
except json.JSONDecodeError:
continue
items = data if isinstance(data, list) else [data]
for item in items:
if isinstance(item, dict) and "dateModified" in item:
return str(item["dateModified"])[:10]
return None
def main(sitemap_url):
for url, lastmod in sitemap_lastmods(sitemap_url).items():
modified = page_date_modified(url)
if modified is None:
print(f"NO dateModified {url}")
elif modified != lastmod:
print(f"MISMATCH sitemap={lastmod} page={modified} {url}")
if __name__ == "__main__":
if len(sys.argv) != 2:
sys.exit("usage: python check_dates.py https://example.com/sitemap.xml")
main(sys.argv[1])Run it with python check_dates.py https://example.com/sitemap.xml. It makes one request per URL, so run it against a small sitemap or add a delay on large sites. It does not check the visible date, which depends on your template; add a regular expression for your own markup if you want that check.
Dates inside titles and content
Years in titles and headings need extra care. A title like "Best Laptops 2024" is a promise that the content is current for 2024. Once the year passes, either update the content and the title together, or remove the year. If you refresh the page, the title year changes only when the content has been reviewed for the new year.
Also scan the body for relative statements that age badly: "recently", "this year", "the latest version". Replace them with specific dates or version numbers so the page stays accurate without another edit.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Sitemap `lastmod` is today for every URL | Sitemap generator uses build time or the generation time | Read the last meaningful update field per page |
| Search result shows an old date after a refresh | Page not recrawled yet, or visible date and structured data disagree | Align the dates, then request recrawling |
| Date appears a day off | Missing time zone offset | Use ISO 8601 with an offset |
| `dateModified` earlier than `datePublished` | Fields set by different plugins or a migration | Correct the values at the source |
| Rankings do not move after a date bump | The content did not change in a way that matters | Do the real refresh, then update the date |
Dates can also differ from what the search result displays. Google may show a date it derived from several sources, and it does not promise to use yours. Make your signals consistent and honest, and accept that you do not control the snippet.
Summary
Treat dates as a record of work done. Keep the publish date fixed, move the updated date only after meaningful edits, and make the visible date, dateModified, and lastmod agree. Ranking recovery comes from the content change, and the dates only report it accurately.
Exercise
A colleague's CMS updates the "modified" timestamp whenever anyone saves a page, and the sitemap and JSON-LD both read that timestamp. The team fixed three typos across 200 pages last week. What problem does this create, and what is a sound fix?
Show answer
All 200 pages now report a new lastmod and dateModified even though nothing meaningful changed. This makes the dates untrustworthy, and search engines may learn to ignore lastmod for the site. The fix is to add a separate "last meaningful update" field that editors set deliberately, then feed the visible date, dateModified and lastmod from that field. The typo fixes would not change it.
Exercise
Your page's visible text says "Updated 20 November 2026", the JSON-LD says "dateModified": "2026-11-20", and the sitemap says lastmod 2024-05-02. Which signal is wrong, and what should you check first?
Show answer
The sitemap lastmod is out of step with the other two. Check how the sitemap generator gets its date: it may read a stale field or a cached file. Regenerate the sitemap from the same last-meaningful-update field, confirm that it shows 2026-11-20, and then request recrawling.