In short
A fictitious update date announces a revision that never happened: “Updated on” followed by today's date calculated by a script, a post automatically republished every month, “(2026)” added to the title without any review, dateModified or lastmod regenerated on every deployment, a future date. This check consists in finding these mechanisms, turning them off and restoring dates that follow real, substantive changes. Once it is done, every date displayed or declared matches a revision you can show.
Why it matters
Freshness reassures readers, and many sites have tried to fake it rather than produce it. Search engines know the practice and neutralize it at several levels.
- Google cites it as a warning sign. In its guide on helpful content, among the questions that reveal content written primarily for search engines, Google asks whether you are changing the date of pages to make them seem fresh when the content has not substantially changed.
- Byline dates have rules. Google's documentation on dates calls for a visible, labeled date (“Published on”, “Updated on”), identical to the one in the structured data, never in the future, and describing when the page was published or updated, not an event the page talks about.
- An inflated
lastmodis ignored. Google only uses<lastmod>if the value is consistently and verifiably accurate, for example when compared with the page's last actual modification. It specifies that changing only the copyright date is not a significant modification. A sitemap where every URL carries today's date therefore teaches Google to stop reading your dates, including the real ones.
For generative engines, the effect is more insidious. An assistant that reads “Updated on November 20, 2026” on a 2023 price may present that price as current, with your name as the source. No assistant vendor documents how it weighs dates; what is certain is that a false date spreads outdated information under your name.
Finally, readers end up noticing: a page “updated today” that mentions a discontinued software version discredits the whole site.
What it improves
- Trust The date becomes reliable information for readers again.
- Crawling An accurate
lastmodcan once again help Google and Bing identify pages to recrawl. Useful mainly on sites with several thousand pages. - AI answers Less risk of an assistant presenting old information as recent. Plausible effect, not documented.
- Editorial management Real dates reveal the pages that have never been reviewed, and therefore the actual work to be done.
- Rankings No direct gain to expect. A more recent date is not a ranking factor in itself.
How to check
1. Does the date change for no reason? Load a page a few minutes apart, then the next day:
curl -s https://example.com/guide-entretien-chaudiere/ | grep -o -i -E "(mis à jour|mise à jour|updated)[^<]{0,60}|\"dateModified\"[^,}]*"
A date that changes on every load, or every day, with no change to the text, is fictitious.
2. Is the date calculated in the browser? If the visible date does not appear in the HTML returned by curl but shows on screen, it is probably written by a script. Look for it in the code:
grep -r -n -i -E "new Date\(\)|toLocaleDateString\(\)|date\(['\"][dmY]|now\(\)|'now' \| date|currentyear|currentdate|currentmonth" \
wp-content/themes/ resources/views/ app/ src/ layouts/ 2>/dev/null | grep -v node_modules
Any result close to an “Updated”, “Refreshed” or “in 2026” label, or to a dateModified field, is suspect.
3. Is the sitemap credible? Count the URLs by lastmod date:
curl -s https://example.com/sitemap.xml | grep -o "<lastmod>[^<]*" | cut -c10-19 | sort | uniq -c | sort -rn | head
If the vast majority of URLs share today's date or the date of the last deployment, the lastmod is generated, not measured. For a sitemap index, run the command on each child sitemap.
4. Do the titles announce a year? In a crawl (Screaming Frog, Title 1 column), filter the titles containing the current year. For each page, open the revision history: if the content has not been reviewed this year, the year is a decoy.
5. Are the dates consistent with one another? The audit script in the guide display the actual modification date (opens in a new tab) flags dateModified values that are in the future, earlier than publication, or shared by an abnormal number of pages.
Compliant situation: the date only changes when someone modifies the substance of the page, it is the same on the page, in dateModified and in lastmod, and for each date you can show the revision that justifies it.
How to implement
Before you start
Recognize the mechanisms. This table serves as a checklist during the audit:
| Fictitious mechanism | Where to look | Fix |
|---|---|---|
| Today's date displayed by a script | Template, theme JavaScript | Display an editorial date field |
| Automatic republishing (publication date reset to today) | Plugins, scheduled tasks | Turn off; restore the original date |
| “Updated in 2026” in the title, without review | SEO plugin title templates, manually entered titles | Remove the year or genuinely revise the page |
dateModified = generation date |
Generated structured data | Read the editorial date |
lastmod = build date or today's date |
Sitemap generator | Read the editorial date |
| Bulk update with no substantive change (new layout, typo fixes) | CMS history | Leave the editorial date alone |
| Future or backdated date | Manual entry, wrong time zone | Fix the value and the time zone |
Define what justifies a new date. A written rule settles borderline cases. Yes: an updated figure, price or procedure, a section added or rewritten, a substantive error corrected, structured data or important links changed. No: a typo, layout, a theme change, a new decorative image, a review with no change. Details in update dateModified (opens in a new tab).
A single source. The editorial date, entered by the person doing the revision, feeds the visible date, dateModified and lastmod. This is what display actual publication and update dates (opens in a new tab) describes.
Warning: replacing one fictitious date with another fictitious date solves nothing. If you do not know when a page was actually reviewed, keep its publication date and do not display an update date until a real revision has taken place.
Find the real dates. For each page to fix, the date of the last substantive revision can be found in the CMS revision history, in the file's Git history, or by comparing Wayback Machine snapshots. When the history is lost, the original publication date is the honest default value.
WordPress
Versions WordPress 6.4 and later.
Republishing plugins. Go to Plugins > Installed Plugins and look for those that “refresh” or “republish” old posts. RevivePress, for example, resets the publication date of old posts to today's date on a schedule. Turn off the automatic republishing feature, then restore the original dates of the affected posts (the “Publish” field in the editor, or in bulk with WP-CLI if you recorded the original dates).
Bulk updates. Find the days on which a large number of posts were “modified”:
SELECT DATE(post_modified) AS jour, COUNT(*) AS articles
FROM wp_posts
WHERE post_status = 'publish' AND post_type IN ('post', 'page')
GROUP BY jour
ORDER BY articles DESC
LIMIT 10;
With WP-CLI: wp db query "…" with the same query. A date grouping hundreds of posts almost always corresponds to a technical operation (theme change, search and replace, import). If your theme displays post_modified, these posts all show a false update date: switch to an editorial date as shown in the guide on the actual modification date.
Date variables in titles. In Yoast SEO (Yoast SEO > Settings > Content types) and Rank Math (Rank Math SEO > Titles & Meta), look in the title and meta description templates for the variables %%currentyear%%, %%currentdate%%, %currentyear% or %currentdate%. They display the current year or date, whatever the revision date. Yoast explicitly advises against them. Replace them with fixed text, updated by hand during a real revision, or with the modification date variable (%%modified%%, %modified%) if that date is reliable.
Theme code. A date_i18n( get_option( 'date_format' ) ) or a wp_date() without a date argument displays today's date. Replace it with get_the_modified_date() tied to your editorial field.
Shopify
Versions Online Store 2.0 themes, Shopify admin, November 2026.
In Online Store > Themes > … > Edit code, search for 'now' in sections and snippets. A line like this one displays the date the page was generated, not a revision date:
<p>Updated on {{ 'now' | date: '%d/%m/%Y' }}</p>
Delete it or replace it with an editorial date metafield (custom.content_updated_at, for example), filled in by hand during a revision. Do the same in the JSON-LD blocks of the theme or of an app that fill dateModified with 'now'. Shopify generates the store's sitemap itself: you do not control its lastmod, hence the importance of not modifying content without reason.
Laravel
Versions Laravel 11 to 13.
Three places to check:
- Blade views:
{{ now()->format('d/m/Y') }}or{{ $page->updated_at }}next to an “Updated” label.updated_atchanges on everysave(), including for a view counter or a status change. - Observers and
touch(): a relationship declared in$touchesor atouch()call updates the parent'supdated_atwhen a child changes. That is not a revision of the content. - The sitemap: with spatie/laravel-sitemap, the date passed to
setLastModificationDate()must be the editorial date.
use Spatie\Sitemap\Sitemap;
use Spatie\Sitemap\Tags\Url;
$sitemap = Sitemap::create();
Article::query()
->published()
->each(function (Article $article) use ($sitemap): void {
$sitemap->add(
Url::create(route('articles.show', $article))
->setLastModificationDate($article->content_updated_at ?? $article->published_at)
);
});
$sitemap->writeToFile(public_path('sitemap.xml'));
Use neither now() nor updated_at for this value.
Next.js
Versions Next.js 15 and 16 (App Router).
The common example of app/sitemap.ts sets lastModified: new Date(), that is, the build date for every URL. Read the editorial date of each piece of content instead:
import type { MetadataRoute } from 'next';
import { getAllArticles } from '@/lib/articles';
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
const articles = await getAllArticles();
return articles.map((article) => ({
url: `https://example.com/guides/${article.slug}`,
lastModified: article.updated ?? article.published,
}));
}
Also search for new Date().toISOString() in the components that produce the JSON-LD (dateModified) and in date display components.
Static sites
With Hugo, Jekyll, Astro or Eleventy, the build date or the date of the last commit is often used by default. An automatic reformatting or a file rename then creates a false update. Configure the generator to read the updated or lastmod front matter field first (Hugo example in the guide on the actual modification date) and use the Git date only as a fallback.
After the cleanup
- Clear the caches (cache plugin, CDN) so that the new dates are served.
- Regenerate the sitemap and check the distribution of
lastmodvalues with the command from the previous section. - Request recrawling of a few important pages in Search Console's URL Inspection tool and in Bing Webmaster Tools URL Inspection.
- Add date checks to your automated checks: see monitor titles and structured data (opens in a new tab).
Common mistakes
- Changing the date after a mere proofread: a review with no change does not justify “Updated on”.
- Adding the current year to the title of every guide on January 1, without revising them.
- Replacing the fictitious dates with the date of the cleanup: that is a new fictitious date, applied to the whole site on the same day.
- Fixing only the visible date and leaving
dateModifiedorlastmodautomatically generated. - Confusing the event date with the page date: the date of a trade show or a promotion is not the update date of the page announcing it.
- Forgetting the time zone: an ISO date without a time zone, or in UTC, may display as the day before or the day after.
- Republishing an old post to push it back up the RSS feed instead of writing a new post or genuinely revising it.
Frequently asked questions
Can changing a post's date without modifying it be penalized?
Changing a post's date without modifying it does not trigger any known automatic penalty, but Google cites this practice as a sign of content written for search engines rather than for readers. It brings no gain: the date is not a ranking factor in itself, and an inflated lastmod leads Google to ignore your sitemap dates. Readers, for their part, lose trust when they notice.
Can I put the current year in a post's title?
You can put the year in a post's title only if its content has genuinely been checked and updated for that year, for example a comparison of 2026 prices collected in 2026. A variable that automatically inserts the current year announces an update that never happened. Yoast SEO itself advises against its current date variables. Remove the year or revise the page.
What if I don't know the real update date of my pages?
If the real update date is lost, look for it in the CMS revision history, in the Git history or in Wayback Machine snapshots. Failing that, keep the original publication date and do not display an update date. Display one at the page's next real revision. Replacing the dates with the date of the cleanup would create a new fictitious date.
Are automatic republishing plugins dangerous?
Automatic republishing plugins, which reset the publication date of old posts to today's date, produce fictitious dates on a large scale. They mislead readers, distort the byline date presented to Google and make the structured data and the sitemap unreliable. To bring old content back to the fore, genuinely revise it and date the revision, or feature it in the navigation.
Resources
- Google Search Central: creating helpful, reliable, people-first contentdevelopers.google.com
- Google Search Central: influencing your byline dates in Google Searchdevelopers.google.com
- Google Search Central: build and submit a sitemap (lastmod)developers.google.com
- Bing: sitemaps in AI-powered searchblogs.bing.com
- Yoast SEO: list of snippet variablesyoast.com
- Next.js: sitemap filenextjs.org
- spatie/laravel-sitemapgithub.com
Updated on
Topic checklist (PDF)