How to Fix Missing Published or Updated Dates on Articles

This check flags blog posts, guides and news articles that show no published or updated date in the page. By the end of this guide, every article template on your site will output a visible, machine-readable date that matches your structured data and stays accurate when content changes.

By Updated ⏱ 15-30 minutes🎯 Beginner● Medium impactOn-Page
Illustration: Published / updated date visible fix guide
ON-PAGE · FIX GUIDE Published / updated date visible IMPACTEFFORT TIME15-30 minutes LEVELBeginner

Why it matters

Readers use the date to judge whether advice still applies, and an undated guide gets fewer clicks and more bounces. Google can show a date in search snippets and uses multiple signals to pick one; a clear on-page date plus matching datePublished and dateModified helps it pick the right one. AI answer engines also prefer sources they can confirm are current, so undated articles are easier to skip when a recent, dated alternative exists.

✕Beforehttps://example.com/blog/pricing-guideshows a title, author and body textbut no date anywhere in the HTML.✓AfterThe same page shows "Published March4, 2025 · Updated January 12, 2026"inside <time> elements, with matching

What you need

Access to your article or blog post template (theme editor, CMS template or code)
The list of flagged article URLs from your audit report
A browser with View Source or DevTools
Google Rich Results Test (search.google.com/test/rich-results)

Step-by-step fix

1

Identify which templates the flagged articles use

Open the list of flagged URLs and group them by section, such as /blog/, /guides/ and /news/. Usually one or two templates are responsible, so fixing the template fixes every article at once. Open one flagged URL, press Ctrl+U (Cmd+Option+U on Mac) and search for "datePublished", "<time" and "article:published_time" to see what is already there.

Pro tip: If the date appears in View Source but the page is still flagged, it may be hidden with CSS (display:none) or injected only by JavaScript after load. See step 5.
2

Decide which dates to show and keep them honest

Show the original publish date, and add a "Last updated" date only when the content was meaningfully revised (new facts, steps, prices or sections). Do not bump the date for typo fixes or on a schedule to look fresh. Google treats artificial date changes as a manipulation signal, and readers lose trust when an "updated" page holds nothing new.

Pro tip: Add an "Updated" field to your editorial checklist so whoever revises an article sets the modified date on purpose instead of relying on the CMS save timestamp.
3

Add a visible date with a <time> element

Place the date near the headline or byline in the article template, where readers expect it. Wrap each date in a <time> element with an ISO 8601 datetime attribute, so the human-readable text and the machine-readable value always match. Include a time zone offset if you show times.

html
<p class="article-meta">
  By <a href="/authors/jane-doe">Jane Doe</a> ·
  Published <time datetime="2025-03-04T09:00:00+00:00">March 4, 2025</time> ·
  Updated <time datetime="2026-01-12T14:30:00+00:00">January 12, 2026</time>
</p>
Pro tip: Use an unambiguous format such as "January 12, 2026" in the visible text. "01/12/2026" means different dates in the US and Europe.
4

Add datePublished and dateModified to Article schema

Add or update the Article (or BlogPosting / NewsArticle) JSON-LD in the same template. The values must match the visible dates exactly. If an SEO plugin already outputs schema, check that it fills these properties instead of adding a second, conflicting block.

html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "Example Co Pricing Guide",
  "datePublished": "2025-03-04T09:00:00+00:00",
  "dateModified": "2026-01-12T14:30:00+00:00",
  "author": { "@type": "Person", "name": "Jane Doe", "url": "https://example.com/authors/jane-doe" },
  "publisher": { "@type": "Organization", "name": "Example Co" }
}
</script>
Pro tip: If the article was never updated, set dateModified equal to datePublished rather than leaving it out.
5

Add Open Graph article date meta tags

Add article:published_time and article:modified_time in the <head>. Social platforms and some crawlers read these, and they give one more consistent date signal. Use the same ISO 8601 values as above.

html
<meta property="og:type" content="article">
<meta property="article:published_time" content="2025-03-04T09:00:00+00:00">
<meta property="article:modified_time" content="2026-01-12T14:30:00+00:00">
6

Make sure the date is server-rendered and not hidden

Many themes ship with the date turned off in settings or hidden by CSS. Check that:

  • The date appears in View Source, not only in DevTools after JavaScript runs.
  • No CSS rule such as .entry-date { display:none; } or .posted-on { visibility:hidden; } hides it.
  • The date is not rendered only as an image or in a lazy-loaded widget.
text
/* Remove rules like this from your theme or custom CSS */
.entry-meta .posted-on { display: none; }
Pro tip: Search your theme's Additional CSS (WordPress: Appearance > Customize > Additional CSS) for "date" or "posted-on". This is the most common reason a date silently disappears.
7

Re-test the flagged articles

Open two or three previously flagged URLs and confirm the date is visible above or next to the content. Run one through the Rich Results Test and check that the Article item shows datePublished and dateModified with no warnings. Then re-run the audit so every article page is crawled again and the check passes.

Pro tip: In Google Search Console, use URL Inspection > Request Indexing on your most important updated guides so the new dates are picked up sooner.

Platform-specific notes

WordPress

Classic themes: check Appearance > Customize for a "Post meta" or "Show date" option, then look for CSS that hides .posted-on. Block themes: go to Appearance > Editor > Templates > Single Posts, add a Post Date block near the title, and add a second Post Date block set to show the last modified date for "Updated". Yoast SEO and Rank Math output datePublished/dateModified and article:published_time automatically, so don't add a second hand-coded Article block.

Shopify

In Online Store > Themes > Customize, open the Blog posts template, select the Blog post section and turn on "Show date" (Dawn and most Online Store 2.0 themes). To add an updated date, edit sections/main-article.liquid and output {{ article.published_at | time_tag: format: 'date' }} and {{ article.updated_at | time_tag: format: 'date' }}. Note that updated_at changes on any save, so consider a metafield for a deliberate "Last updated" date.

Wix

In the Editor, go to the Blog Post page, click the post widget, open Settings > Display and tick "Publish date". Wix generates BlogPosting schema with datePublished automatically. For a separate "Updated" line, add it in the post body or use Velo to read the post's lastPublishedDate.

Webflow

In the CMS Collection settings, use the built-in Published On field or add a Date/Time field named "Last Updated". On the Collection template page, add a Text element and bind it to that field. Add JSON-LD in Page Settings > Custom Code > Before </head> using the same fields inserted through "+ Add Field".

Next.js

Render the <time> element in a Server Component so it is in the initial HTML. In the App Router, return openGraph: { type: 'article', publishedTime, modifiedTime } from generateMetadata, and output JSON-LD in a <script type="application/ld+json"> tag in the page component using the same values from your CMS.

Check that it worked

✅ How to verify

  • Open a previously flagged article and confirm a published or updated date is visible near the headline without scrolling or clicking.
  • Use View Source (not DevTools) and search for "<time datetime=" and "datePublished" to confirm the date is in the server HTML.
  • Run the URL through the Google Rich Results Test and check that the Article/BlogPosting item lists datePublished and dateModified matching the visible dates.
  • Re-run the site audit and confirm the number of articles without a date is zero.

⚠️ Common mistakes

  • Updating the "Last updated" date site-wide or on a schedule without changing content. This misleads readers and Google may ignore or distrust the dates.
  • Showing one date on the page while schema or meta tags hold a different one, for example a visible date in local time and a schema date from a different revision.
  • Hiding the date with CSS or loading it only through JavaScript, so crawlers and the audit never see it.
  • Using the CMS's automatic modified timestamp, which changes on every minor save, as the public "Updated" date.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Should I show the published date, the updated date, or both?

Show both when the article has been substantially revised. Readers see that it is current and that it has a history. If it has never been meaningfully updated, the published date alone is enough, and dateModified in schema can equal datePublished.

Will showing an old date hurt my rankings?

Not directly. An old date on evergreen content that is still accurate is fine. If the content is outdated, update it properly and change the "Updated" date. Removing the date to hide age makes the page less trustworthy and less likely to be cited.

Why does Google show a different date than my page?

Google weighs several signals: the visible date, structured data, meta tags and sometimes the URL. If these disagree, it picks one. Make the visible date, datePublished/dateModified and article:published_time/modified_time all match.

Do product pages and landing pages need a date too?

No. This check only applies to articles, blog posts, guides and news. Product, category and service pages generally don't need a visible date.