Add Article schema for posts

Article markup describes editorial content with headline, image, datePublished, dateModified and author. Use BlogPosting for posts and Article as the generic type. Dates must be ISO 8601 with timezone, and the author should link to a real bio page. Never mark up listing pages as Article.

mediumIn codeimpact effort

Why this matters

Headline, dates, author and image, kept honest.

Get the full breakdown

The extended brief explains when this works, when it does not, and the trade-offs. Join the waitlist and it unlocks for every tip when sign-in opens; MCP access is the paid part.

Join the waitlist

Before you start

  • A post template
  • Author pages and publish dates in the CMS

How to apply it

  1. Map CMS fields to Article properties

    Use the post title for headline, the featured image for image, and ISO timestamps for datePublished and dateModified. Link the author to their bio page.

    Check: The JSON-LD contains headline, image, datePublished, dateModified and author.url.

  2. Emit the block per post

    Render one Article or BlogPosting block from the post template with the canonical URL in mainEntityOfPage. Do not emit it on listing pages.

    Check: A post page contains one Article block; the blog index contains none.

  3. Validate and monitor

    Run the Rich Results Test on two posts and check the Article enhancement report for errors after template changes.

    Check: Both posts validate with no errors and the enhancement report shows no new issues.

Get the prompt for your agent

A ready-to-paste prompt for your agent that implements this tip and verifies the result in your repo.

Join the waitlist

Source: seo-mcp playbook · curated entry · report an error

Framework notes

nextjs-app

Generate the JSON-LD in `generateMetadata` adjacent code in `app/blog/[slug]/page.tsx` from the same post object used for rendering.

astro

Emit the block in the post layout using content collection entry data (`entry.data.pubDate`, `entry.data.author`).

wordpress

Use `get_the_date('c')` and `get_the_modified_date('c')` for ISO dates, and the author archive URL for `author.url`.

Official references

Let your agent apply this + 161 more tips.

Pre-order — $19