Schema Markup for SEO: Types, JSON-LD Examples and WordPress Setup

Quick answer: Structured data is machine-readable information added to a webpage so search engines can interpret its content and relationships. Schema.org provides the vocabulary; JSON-LD is a common format. Correct markup can make eligible content easier for Google to understand and, for supported features, eligible for rich results. It cannot guarantee a rich result or higher rankings.

What is structured data in SEO?

Think of an article as a library book. A human sees a headline, byline and publication date. Search engines can read that text, but structured data adds explicit labels: “this is an Article,” “this is its headline,” and “this is the publisher.” Search engines can use those facts along with the rest of the page—not instead of the page itself.

Schema.org, JSON-LD and rich results are different things

  • Schema.org: A shared vocabulary of entity types and properties, such as Article, Organization, Product and BreadcrumbList.
  • JSON-LD: A machine-readable script format used to express those entities on a webpage.
  • Rich results: Special Google Search appearances supported for certain eligible content types. Not every Schema.org type generates a Google rich result.

Which schema types actually matter?

PageUseful markupImportant condition
Editorial guide or news articleArticle / BlogPostingMatch visible headline, author and dates accurately
Site navigationBreadcrumbListReflect a real, sensible page hierarchy
Business homepageOrganizationUse correct organization name, logo and identity details
Eligible ecommerce productProduct and OfferPricing, availability and other data must reflect the actual listing
Recipe instructionsRecipeOnly mark up real recipe content with required properties

Feature eligibility and Google’s supported types can change. Always check the current Google Search Gallery before prioritizing a schema type.

A simple Article JSON-LD example

Here is a simplified example for an editorial article. Replace every placeholder with factual details from the real page:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "How to Audit a Website",
  "datePublished": "2026-11-22",
  "author": {
    "@type": "Organization",
    "name": "Example Publisher"
  },
  "mainEntityOfPage": "https://example.com/website-audit/"
}
</script>

This is an illustration, not a complete template for every publishing setup. The proper author type should describe the actual author. Do not add made-up review stars, prices, people or publication information to chase search features.

How to implement schema in WordPress with Rank Math

  1. Identify the page type. Decide whether the page is an editorial post, product, organization page or another supported content type.
  2. Check the existing output first. In your browser’s page source, search for application/ld+json. WordPress themes and SEO plugins may already output Article, Organization and BreadcrumbList markup.
  3. Use Rank Math’s schema settings. In the post editor, open Rank Math and its Schema section (the exact interface may vary by version). Select the appropriate type and supply only verified page details.
  4. Avoid duplicates. If the theme and two plugins publish competing Article or Organization objects, identify the owner of each block rather than blindly adding another.
  5. Validate. Use Google’s Rich Results Test for Google-supported features and Schema.org’s validator for general structured data syntax.
  6. Inspect the live output. Verify that the final published HTML contains the correct objects, properties and URLs, not just editor settings.

Worked example: an article about local SEO

Suppose you publish a local SEO checklist with a headline, publisher information, a featured image and visible dates. An Article or BlogPosting object could represent the story. BreadcrumbList could describe the navigation from the homepage to the related category and article. A separate Organization object can describe the publishing business.

That does not justify claiming the article is a product with customer ratings or adding an FAQ-rich-result promise. Markup must be consistent with the content people actually see.

How to test and troubleshoot schema markup

  • No rich result appears: Check whether Google supports that specific feature and whether the page meets eligibility rules. Valid schema is not a guarantee of display.
  • Missing required field: Review the documentation for that exact feature and provide truthful visible information.
  • Conflicting page URLs: Verify the canonical URL and the mainEntityOfPage value. Read our canonical URL vs 301 redirect guide.
  • Duplicate objects: Inspect theme, Rank Math and other plugins. Prefer one consistent representation rather than competing versions.
  • Google is not indexing the page: Structured data cannot override a noindex directive, a blocked crawl or poor page discoverability. Start with our Google indexing checklist.

Schema markup checklist before publishing

  • Page returns HTTP 200 and is intended to be indexable.
  • Content type matches the actual page.
  • Names, image, price, author and dates are real and current where used.
  • Relevant properties meet Google’s feature-specific requirements.
  • Structured data validates in the appropriate testing tool.
  • Canonical and internal linking signals are consistent.
  • No hidden or invented claims appear in markup.

Frequently asked questions

Does schema markup guarantee higher Google rankings?

No. It clarifies content for search engines and can make eligible pages candidates for richer search presentation, but ranking and display are not guaranteed.

Can I add multiple schema types to one page?

Yes, where they describe different true aspects of the page, such as Article, BreadcrumbList and Organization. Avoid duplicating the same entity with conflicting facts.

Is JSON-LD better than microdata?

Google generally recommends JSON-LD when the site’s setup permits it because it is often easier to maintain. Valid supported markup in other formats can still work.

Official references

Consult Google’s structured data introduction, its structured data policies, and the Search Gallery to verify which properties and features are currently supported.

Leave a Comment

Your email address will not be published. Required fields are marked *