Duplicate schema markup from Yoast and another plugin: how to find and fix it
Duplicate schema happens when two sources on your site (often Yoast plus a theme, WooCommerce or another SEO or review plugin) each print the same structured data. The fix is to pick one source for each type of schema and switch the other off.
Schema markup is a block of hidden code that tells search engines and AI tools what a page is: a business, a product, an article, a set of FAQs. When two plugins both do this job, your page ends up with two copies of the same thing, sometimes with slightly different details. You will not see anything wrong on the page itself. The problem shows up in testing tools, in Search Console reports, or when rich results (stars, prices, FAQ boxes) behave oddly.
What duplicate schema looks like
The most common combinations are:
- Yoast SEO and Rank Math or All in One SEO both active, each printing a full set of schema.
- Yoast plus WooCommerce, where both describe the same product.
- An SEO plugin plus a theme that adds its own schema or older microdata (
itemscope,itemprop) to the page. - An SEO plugin plus a review, FAQ, recipe or events plugin that adds its own block.
- Schema added by hand or through Google Tag Manager on top of what a plugin already prints.
What owners usually notice: two Organization or WebSite entries, two Product entries with different prices, two FAQPage blocks on one URL, or warnings in Search Console that mention duplicate or conflicting items.
Why it matters
Google does not hand out a penalty just because a page has two schema blocks. The real risks are quieter:
- Conflicting facts. If one block says a product costs 40 and another says 45, search engines may pick one, or ignore both.
- Lost rich results. Stars, prices or FAQ features can fail to appear when the data is ambiguous or invalid.
- Confusing AI tools. Systems that read your pages to summarise your business have a harder time when the page describes the same thing twice in different ways.
- Wasted trust. A wrong price or an outdated phone number in your markup can show up in places customers see.
If you are chasing a specific missing feature, these related guides may help: FAQ schema errors and the platform guide for WordPress.
How to check your site for free
You do not need to be a developer. Use any of these:
- Open a page in your browser, right click, choose View page source, and search (Ctrl+F or Cmd+F) for
application/ld+json. Each match is one block of schema. Several matches are normal, because Yoast prints one block that contains many items. What you are looking for is the same type (for exampleProductorOrganization) appearing in separate blocks. - Paste the page address into Google's Rich Results Test. It lists the items it found and flags errors and warnings.
- Paste the address into the Schema Markup Validator at validator.schema.org. It shows everything found, including types that Google does not use for rich results.
- In Google Search Console, open the Enhancements section (the name of the reports depends on which features your site has) and look for errors on Products, FAQ or similar.
- Make a list of every plugin that mentions SEO, schema, reviews, FAQ, recipes, events or breadcrumbs. Each one is a possible source.
SiteMonday checks this in week 16, structured data, and the written report lists what it found with a ranked fix list. The free methods above work just as well for a single page.
How to fix it
The rule is simple: one source per type of schema. Decide which plugin owns each type, then switch the others off for that type.
- Make a backup or staging copy first. Changing plugin settings can alter what your whole site prints.
- Identify the owners. In the page source, the markup often hints at the source. Yoast schema is usually in a block with the class
yoast-schema-graph. Others may show a plugin name in the class or in a nearby comment. - Never run two full SEO plugins at once. If Yoast and Rank Math (or All in One SEO) are both active, choose one, migrate its settings, and deactivate the other. Both plugins usually offer an import tool for this.
- Turn off the extra schema in the secondary plugin. Look in the plugin's settings for words like Schema, Structured data, Rich snippets or JSON-LD. Menu names vary by plugin and version.
- Check your theme. Some themes print their own schema or old microdata. Look in the theme options for a schema or SEO section, or ask the theme's support. A child theme or developer may be needed to remove it.
- Handle WooCommerce on purpose. WooCommerce prints Product data by itself, and Yoast's WooCommerce add-on can extend it. Whether you end up with one product entry or two depends on your versions and add-ons, so test a product page after any change. See the WooCommerce guide for details.
- Remove hand-pasted or tag manager schema if a plugin already covers the same thing.
If you want to disable Yoast's schema output entirely, because another tool owns it, a developer can add this filter to a small custom plugin or the child theme's functions.php:
add_filter( 'wpseo_json_ld_output', '__return_false' );
Use this only if you are certain something else prints complete schema. Otherwise you will end up with none, which is a different problem (see no schema markup).
Other platforms
The same idea applies outside WordPress. Shopify themes often print product schema, and apps for reviews or SEO may add more. Joomla and Drupal sites can get duplicates from an SEO extension plus a template or module. Google Tag Manager can add schema that repeats what your site already prints. Check each source and keep only one.
How to confirm the fix worked
- Clear every cache: the caching plugin, your host's cache and any CDN. Old pages can keep serving the duplicate for hours.
- Re-run the Rich Results Test and the Schema Markup Validator on the same pages you tested before.
- In the page source, count the entries for the type that was duplicated. You want one Product, one Organization, one FAQPage per page.
- Check the details are right: price, name, logo, address and phone number.
- In Search Console, use the validate fix option on any reports with errors. Google rechecks over days or weeks, so do not expect an instant change.
How to stop it coming back
- Write down which plugin owns which type of schema, and keep the note where your developer can find it.
- Before installing any plugin that mentions SEO, reviews, FAQs or rich snippets, check whether it adds schema, and turn that part off if another plugin already does it.
- Test one key page after every major plugin or theme update, and after a theme change.
- Keep to one SEO plugin.
- Re-check regularly. A weekly or periodic structured data review catches duplicates soon after they appear, rather than months later.
If you want a developer to do the changes, send them your test results and the list of plugins. It usually makes the job short and cheap to quote.
Step by step for your platform
- Duplicate schema from multiple plugins on WordPress
- Duplicate schema from multiple plugins on WooCommerce
- Duplicate schema from multiple plugins on Shopify
- Duplicate schema from multiple plugins on Elementor
- Duplicate schema from multiple plugins on Joomla
- Duplicate schema from multiple plugins on Drupal
- Duplicate schema from multiple plugins on Google Tag Manager
Questions
Does duplicate schema get my site penalised by Google?
Not by itself. The risk is conflicting or invalid data, which can stop rich results from showing or make search engines ignore the markup.
Is it normal to see several ld+json blocks on one page?
Yes. Yoast, for example, puts many items into one block, and other tools may add their own. The problem is the same type (such as Product) described twice, especially with different details.
Can I run Yoast and Rank Math together?
It is not recommended. Both print schema, titles and meta tags, so you get duplicates and conflicts. Pick one, import settings and deactivate the other.
Why do I still see duplicates after changing settings?
Usually a cache. Clear your caching plugin, host cache and CDN, then test again. If it persists, the theme or another plugin may be printing the extra copy.
Will WooCommerce and Yoast always create duplicate product schema?
Not always. It depends on the versions and add-ons you use, so test a product page with the Rich Results Test rather than assuming.
Do I need a developer to fix this?
Often not. Switching off a plugin's schema option is a settings change. Removing theme markup or using a code filter is where a developer helps.