Check 15.06 · Schema.org structured data

Implement Article, BlogPosting or NewsArticle

Choose between Article, BlogPosting and NewsArticle, then mark up headline, authors, dates and images on WordPress, Shopify, Drupal, Webflow, Laravel, Next.js or Astro.

Priority
Important
Difficulty
Intermediate
Estimated time
1 to 3 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Article markup and its subtypes BlogPosting and NewsArticle describe editorial content: headline, authors, publication and update dates, images, publisher. Google requires no property but recommends seven. Once the check is done, every article on the site carries a JSON-LD block of the right type, whose authors, dates and images match exactly what the page displays.

Why it matters

A search engine can find a page's title; it has a harder time knowing who wrote it, when it was published and when it was actually updated. Article markup tells it explicitly. Google says it helps it understand the page better and show a more accurate title, images and dates in its search results, in Discover and on the other surfaces where it presents articles.

Properties recommended by Google: headline, image, datePublished, dateModified, author, author.name, author.url. Its guidelines specify:

  • Authors: one author object per person, the name alone in name, Person for a person and Organization for an organization, with a url or sameAs that identifies them.
  • Dates: ISO 8601 format with a time zone; without one, Google applies Googlebot's time zone.
  • Images: relevant, crawlable and indexable, ideally in several aspect ratios (16:9, 4:3, 1:1) of at least 50,000 pixels (width × height).

For generative engines, the date and the author are freshness and reliability cues they can report (“according to an article updated in October 2026 by…”). Google states that no specific markup is required for AI Overviews or AI Mode, and other vendors do not document how they use structured data. Accurate markup guarantees no citation, but a wrong date or a missing author can get content set aside or misrepresented.

What it improves

  • Presentation in search results and Discover A more accurate title, image and date. No specific rich result guaranteed.
  • Attribution Each article is tied to identified authors and a publisher.
  • Freshness dateModified signals real updates, which helps time-sensitive queries and assistants that date their sources.
  • Citations in AI answers Unambiguous metadata. Indirect, unproven effect.
  • Rankings No direct effect.

How to check

On a recent article:

curl -s https://example.com/blog/mon-article/ \
  | grep -o -E '"(@type|headline|datePublished|dateModified)" *: *"[^"]*"'

Expected result: a single Article, BlogPosting or NewsArticle; a headline identical to the displayed title; complete datePublished and dateModified values with a time zone (2026-10-02T09:30:00+02:00), equal to the visible dates.

Then:

  1. Run the URL through the Rich Results Test: the “Article” item must appear with no warning on author, image or the dates.
  2. Check that every image URL returns a 200 and that the image is not blocked by robots.txt.
  3. Compare three recently updated articles: if dateModified changes with every comma fix or every deployment, the date is no longer reliable.

How to implement

Before you start

Choose the type:

Type For Examples
NewsArticle News, dated journalistic content News site, a media outlet's news section
BlogPosting Blog post Company blog, personal blog
Article Other editorial content Guides, in-depth features, how-to sheets

Google treats all three the same way for its features: pick the most accurate one without spending too much time on it. One type per page, not three.

Data to gather, all visible on the page:

  • headline: the article title (the H1), not the SEO title if it differs a lot.
  • datePublished: date of first publication, never changed afterwards.
  • dateModified: date of the last substantial change to the content, displayed on the page. See Update dateModified (opens in a new tab).
  • author: each displayed author, with the @id and url of their author page (see Implement Person and ProfilePage (opens in a new tab)).
  • publisher: the organization, by its @id.
  • image: the main image, if possible in 16:9, 4:3 and 1:1 versions.

Reference block:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "@id": "https://example.com/blog/choisir-un-sencha/#article",
  "mainEntityOfPage": "https://example.com/blog/choisir-un-sencha/",
  "headline": "How to choose a sencha: origin, harvest and brewing",
  "description": "The criteria that set a good sencha apart and how to brew it.",
  "image": [
    "https://example.com/images/sencha-16x9.jpg",
    "https://example.com/images/sencha-4x3.jpg",
    "https://example.com/images/sencha-1x1.jpg"
  ],
  "datePublished": "2025-04-08T08:00:00+02:00",
  "dateModified": "2026-10-02T09:30:00+02:00",
  "author": [
    {
      "@type": "Person",
      "@id": "https://example.com/auteurs/claire-martin/#person",
      "name": "Claire Martin",
      "url": "https://example.com/auteurs/claire-martin/"
    }
  ],
  "publisher": { "@id": "https://example.com/#organization" },
  "inLanguage": "fr-FR",
  "isPartOf": { "@id": "https://example.com/#website" }
}
</script>

If the organization is not declared on the same page, replace the publisher reference with a full object ("@type": "Organization", name, logo, url). For paid content, add the isAccessibleForFree and hasPart properties Google describes for subscription content.

Warning: never update dateModified without a real change to the content, and do not present an old article as recent. Artificially refreshing dates is a practice to avoid: Google requires dates to reflect real changes.

WordPress

Versions WordPress 6.4 to 7.1, Yoast SEO 20 and later, Rank Math 1.0.

Yoast SEO adds an Article linked to the author (Person), the organization and the page. The default type is set in Yoast SEO > Settings > Content types > Posts (article type: Article, Blog Post, News Article…), and post by post in the Schema tab of the Yoast box. Dates come from WordPress's publication and modification dates.

Rank Math: in Rank Math SEO > Titles & Meta > Posts, set the schema type to “Article”, then the article type (Article, Blog Post, News Article). The editor's schema generator allows an override per post.

Things to check in both cases:

  • does the theme display the update date? If only the publication date is visible, display the modification date too, or accept that the markup diverges from the page;
  • plugins that edit content in bulk (link replacement, re-saving) change WordPress's modification date;
  • posts without a featured image have no image: set a relevant default image or add one to each post.

Shopify

Versions Online Store 2.0 themes (Horizon, Dawn), all Shopify plans, November 2026.

Shopify's reference themes call the structured_data filter ({{ article | structured_data }}) in sections/main-blog-post.liquid for Horizon and its derivatives, and in sections/main-article.liquid for Dawn; it outputs an Article from the blog post. For full control (BlogPosting type, author linked to an author page, publisher by @id), replace this call with a custom block:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "mainEntityOfPage": {{ shop.url | append: article.url | json }},
  "headline": {{ article.title | json }},
  "description": {{ article.excerpt_or_content | strip_html | truncate: 160 | json }},
  {%- if article.image %}
  "image": {{ article.image | image_url: width: 1600 | prepend: 'https:' | json }},
  {%- endif %}
  "datePublished": {{ article.published_at | date: '%Y-%m-%dT%H:%M:%S%:z' | json }},
  "dateModified": {{ article.updated_at | date: '%Y-%m-%dT%H:%M:%S%:z' | json }},
  "author": { "@type": "Person", "name": {{ article.author | json }} },
  "publisher": { "@id": {{ shop.url | append: '/#organization' | json }} }
}
</script>

The %:z format adds the time offset with a colon (+02:00); check the output in an article's source code. updated_at changes every time the article is saved: if you often fix small details, prefer an “update date” metafield filled in by hand.

Drupal

Versions Drupal 10 and 11, Metatag 2 and Schema.org Metatag 3 modules.

With Schema.org Metatag, open /admin/config/search/metatag, add a configuration for the Article content type, then fill in the Schema.org Article tab: type (Article, BlogPosting, NewsArticle), headline ([node:title]), datePublished ([node:created:html_datetime]), dateModified ([node:changed:html_datetime]), author ([node:author:display-name] and the account URL), publisher and image (image field token). Clear the caches.

Wix

Versions Wix Editor and Wix Studio with Wix Blog, dashboard as of November 2026.

Wix Blog adds its own structured data to posts. The site's SEO settings (SEO & GEO > Tools and settings > SEO Settings, then Blog posts under “Edit by page type”, “Structured data markup” row) let you view and adjust the default markup. Check the result on a post with the Rich Results Test.

Squarespace

Versions Squarespace 7.1, Core, Plus and Advanced plans, November 2026.

Squarespace generates basic markup for blog posts; check it with the Schema Markup Validator. To enrich it (linked author, dates with time zone), use the post code injection (blog page settings, Advanced > Post Blog Item Code Injection, applied to all posts), available on Core, Plus and Advanced plans, taking care not to create a second Article.

Webflow

Versions Webflow Designer, site plans with CMS, November 2026.

In the Articles collection template, Page settings > Custom code > Inside <head> tag, paste the reference block and insert the CMS fields (name, main image, publication date, update date, referenced author). CMS dates are inserted with a format chosen at insertion: pick the ISO format.

Laravel

Versions Laravel 11 to 13, spatie/schema-org 3.23.2 and later (4 and 5 included).

use Spatie\SchemaOrg\Schema;

$url = route('posts.show', $post);

$schema = Schema::blogPosting()
    ->setProperty('@id', "{$url}#article")
    ->mainEntityOfPage($url)
    ->headline($post->title)
    ->description($post->excerpt)
    ->image($post->imageUrls())
    ->datePublished($post->published_at)
    ->dateModified($post->content_updated_at ?? $post->published_at)
    ->author(
        $post->authors->map(fn ($author) => Schema::person()
            ->setProperty('@id', route('authors.show', $author) . '#person')
            ->name($author->name)
            ->url(route('authors.show', $author)))->all()
    )
    ->publisher(['@id' => url('/#organization')])
    ->inLanguage(app()->getLocale());

Render it with {!! $schema->toScript() !!}. Use a content_updated_at column that is only updated on an editorial change, rather than updated_at, which moves with every save.

Next.js

Versions Next.js 15 and 16 (App Router).

In app/blog/[slug]/page.tsx:

export default async function PostPage({ params }: { params: Promise<{ slug: string }> }) {
  const { slug } = await params;
  const post = await getPost(slug);
  const url = `https://example.com/blog/${post.slug}/`;

  const jsonLd = {
    '@context': 'https://schema.org',
    '@type': 'BlogPosting',
    '@id': `${url}#article`,
    mainEntityOfPage: url,
    headline: post.title,
    image: post.images,
    datePublished: post.publishedAt,
    dateModified: post.updatedAt ?? post.publishedAt,
    author: post.authors.map((author) => ({
      '@type': 'Person',
      '@id': `https://example.com/auteurs/${author.slug}/#person`,
      name: author.name,
      url: `https://example.com/auteurs/${author.slug}/`,
    })),
    publisher: { '@id': 'https://example.com/#organization' },
  };

  return (
    <article>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(/</g, '\\u003c') }}
      />
      {/* content */}
    </article>
  );
}

Dates must arrive in ISO 8601 format with a time zone (new Date(...).toISOString() produces UTC with a Z suffix, which is valid).

Nuxt

Versions Nuxt 4 (and Nuxt 3, end of life since July 2026), Nuxt Schema.org module from Nuxt SEO.

In the article page, useHead({ script: [{ type: 'application/ld+json', innerHTML: JSON.stringify(jsonLd) }] }) with the same object as above. The Nuxt Schema.org module from Nuxt SEO also offers defineArticle(), which picks up the page's title and dates; check the values it produces.

Astro

Versions Astro 5 to 7.

In the layout for a content collection's articles, build the object from the front matter (title, pubDate, updatedDate, author) and render it with <script type="application/ld+json" set:html={JSON.stringify(jsonLd)} />.

Common mistakes

  • Automatic dateModified: the date changes with every deployment or re-save, with no change to the text.
  • Dates without a time zone or in a local format (02/10/2026).
  • Author in name with their job title (“Claire Martin, editorial manager”) or several authors merged into a single string.
  • Organization as the author of an article signed by a person.
  • Site logo as image instead of the article's illustration.
  • Two Article entities on the same page, one from the theme, the other from the plugin, with different dates.
  • NewsArticle on evergreen content to look fresher: no effect, and inconsistent.

Frequently asked questions

Should you choose Article, BlogPosting or NewsArticle?

Choose the type that best matches the content: NewsArticle for news and journalism, BlogPosting for blog posts, Article for guides and other editorial content. Google supports all three the same way for its features and requires no property. What matters is not the subtype but the accuracy of the headline, authors, dates and images.

What date goes in dateModified?

Use the date of the last substantial change to the content, the one the page displays as its update date: a new section, a corrected fact, refreshed figures. A fixed typo or a site redeployment does not justify changing it. Give it in ISO 8601 format with the time zone, and never let it precede the publication date.

Is Article markup needed for Google Discover or Google News?

No. Google does not require Article markup for content to appear in Discover or Google News; these surfaces rely first on the quality and interest of the content. The markup helps Google pick the right title, image and dates. For Discover, Google mainly recommends large images, at least 1,200 pixels wide, which is also set with the max-image-preview:large robots meta tag.

Updated on

Topic checklist (PDF)

And now?

In the “Schema.org structured data” topic

  1. Implement Organization and WebSite if appropriate
  2. Implement LocalBusiness if relevant
  3. Implement Person and ProfilePage
  4. Implement WebPage, AboutPage and ContactPage if useful
  5. Implement BreadcrumbList
  6. Implement Article, BlogPosting or NewsArticle
  7. Implement Product, ProductGroup and Offer to match the catalog
  8. Implement Service if relevant
  9. Implement Review/AggregateRating only if justified
  10. Implement FAQPage/HowTo only if relevant
  11. Implement VideoObject/ImageObject if useful
  12. Evaluate Event, JobPosting, SoftwareApplication, Recipe, Dataset and Course depending on the site
  13. Prefer JSON-LD
  14. Fill in required and recommended properties
  15. Use stable @id values
  16. Connect entities
  17. Provide relevant sameAs links
  18. Specify authors, publisher, dates and images
  19. Align markup with visible content
  20. Avoid fake reviews and misleading data
  21. Test with the Rich Results Test and Schema Markup Validator
  22. Monitor Search Console errors
  23. Automate validation after each deployment