Skip to content

Schema on WordPress without conflicts: Rank Math, Yoast, AIOSEO and duplicates

Why WordPress sites end up with duplicate or conflicting schema, how SEO plugins build their graph, and how to check what structured data is really on the page.

• Rankmizer team

Most WordPress sites with a schema problem don’t have too little structured data. They have too much of it, from too many places. An SEO plugin outputs one set, the theme adds another, a review or recipe plugin adds a third, and someone once pasted JSON-LD into a custom HTML block. The result can be two Article entries with different authors, or two Organization entries with different names, on the same page.

The fix starts with knowing what’s actually on the page, rather than what each plugin’s settings say. This post covers how SEO plugins structure their output, where duplicates come from, and how to check and clean up.

How SEO plugins build schema

Rank Math, Yoast SEO and All in One SEO all output structured data as JSON-LD: a <script type="application/ld+json"> block in the page’s HTML.

Yoast documents its approach in detail. Its schema technology overview describes a single connected graph. Each “piece”, such as the WebSite, the WebPage, the Organization or Person behind the site, and the Article, is an item in an @graph array. Pieces point at each other by @id instead of repeating themselves. The WebSite names its publisher by referring to the Organization’s @id, for example. Yoast also notes that a graph can be split across several script tags, with one piece extending another by @id, and recommends avoiding that where possible because it adds fragility.

Rank Math and AIOSEO let you set a default schema type per post type and change it on individual posts. See Rank Math’s schema guide and AIOSEO’s schema settings. Whatever the plugin, the details of what it outputs depend on its version and your settings, so the only reliable answer comes from the page itself.

Why the graph model matters

An @id is a stable identifier, often your URL plus a fragment such as #organization. When everything on a page refers to one Organization by @id, a parser sees one organization. When a second block outputs its own Organization with no shared @id, the parser sees two, and it has to guess whether they’re the same entity.

That’s the root of most conflicts: two sources describing the same thing without knowing about each other.

Where duplicates come from

  1. Two SEO plugins active at once. Often left over from a migration: the old plugin is still on “just in case.” Both output a full graph.
  2. The theme. Some themes add their own structured data, either as JSON-LD or as microdata attributes in the HTML, for articles, breadcrumbs or the author.
  3. WooCommerce and other specialist plugins. WooCommerce adds its own Product markup on product pages. Review, recipe, event, job and FAQ plugins and blocks often add their own types too.
  4. Page builders and blocks. Some FAQ and how-to blocks output schema directly.
  5. Hand-pasted code. JSON-LD added through a header-scripts plugin or a custom HTML block, often years ago, and forgotten.
  6. Caching. A cached page can carry old markup after you’ve changed settings, which makes it look as if a fix didn’t work.

Is duplicate schema a problem?

It depends on what’s duplicated. Google’s structured data guidelines say Search understands multiple items on a page, whether nested or listed separately. Several distinct items, such as an article plus its breadcrumb plus its author, is normal.

The trouble is contradiction:

  • two Article items with different headlines, dates or authors
  • two Organization items with different names or logos
  • two Product items with different prices, or a price that doesn’t match the page
  • one plugin’s BreadcrumbList disagreeing with another’s

When the data disagrees, you no longer decide which version a search engine or an AI system uses. You’ve also made the page harder to trust as a source.

The same guidelines set two rules worth keeping in mind for everything below. Structured data must be “a true representation of the page content,” and you shouldn’t mark up content that isn’t visible to readers. They also say structured data enables a rich result but doesn’t guarantee one.

How to check what’s actually on the page

Check the live page, logged out, after clearing your cache. What an editor sees while logged in, or a plugin’s preview, is not what a crawler gets.

1. View the source

Open the page in a private window, view the source, and search for application/ld+json. Count the blocks. For each one, note where it came from: plugins often label their block with a class or a nearby comment. Also search for itemtype=, which finds microdata that JSON-LD tools sometimes miss in a quick look.

2. Run the Schema Markup Validator

The Schema Markup Validator checks any schema.org markup on a URL or a code snippet, and lists every item it finds. This is the best way to see the whole picture, including types Google doesn’t use for rich results.

3. Run Google’s Rich Results Test

The Rich Results Test shows which of Google’s supported rich result types it detects, and any errors or warnings. It only reports on types Google supports, so a clean result doesn’t mean the page has no other markup.

4. Check Search Console over time

Search Console’s enhancement reports show structured data issues across the site as Google recrawls. Use them to confirm a fix stuck everywhere, not only on the page you tested.

How to fix conflicts

Pick one owner per type

Decide which tool is responsible for each type: the SEO plugin for WebSite, WebPage, Organization, Person, Article and BreadcrumbList; WooCommerce or your SEO plugin’s WooCommerce integration for Product, but not both. Write the list down. It saves the next person from adding a third source.

Turn off the extras at the source

  • Deactivate the leftover SEO plugin, after checking nothing else depends on it.
  • Look for a “disable schema” or “structured data” setting in your theme. If there isn’t one, a child theme or the theme’s support docs will usually show how to remove it.
  • Turn off schema output in specialist plugins where your SEO plugin already covers the type, or the other way round.
  • Remove hand-pasted JSON-LD that duplicates what a plugin now does.

Extend, don’t add

If you need a type your SEO plugin doesn’t produce, add it in a way that joins the existing graph, by referring to the WebPage or Organization @id the plugin already uses, rather than outputting a separate, unconnected block. Yoast and Rank Math both offer developer hooks for this. That keeps one entity per thing.

Mark up only what’s visible

Don’t add FAQPage to a page without visible questions and answers, or Review without a visible review. Google cut FAQ rich results back to well-known government and health sites in 2023, and they are no longer shown at all from May 7, 2026. HowTo rich results were deprecated in September 2023. Markup added only to chase those features won’t pay off.

Re-test the live page

Clear every cache layer, then run the validator again on the live URL. Repeat for each template: a post, a page, a product, an archive.

Checklist

  • One SEO plugin active.
  • Theme schema off, or confirmed not to duplicate the SEO plugin.
  • One owner per schema type, written down.
  • No contradictory values between items.
  • Every marked-up item is visible on the page.
  • Live pages checked, logged out, after a cache purge.

Where Rankmizer fits

The Rankmizer plugin builds schema from real post data, with no AI, and never invents fields. It works with Rank Math, Yoast, AIOSEO and The SEO Framework, joining the SEO plugin’s own graph where it can. Otherwise it outputs its own block and skips any type another plugin already provides. Each schema change is a proposal you approve, and it can be reverted. A Verify button fetches the live page and reports what’s actually in its graph. It never switches another plugin’s features off. See the content audit and integrations.

See what AI search reads on your page

Paste your content and get the check instantly. No account, no waiting.

Check my content