How to fix data " schema deprecated"

How to fix data " schema deprecated"

Google recently announced that they will stop supporting "" for their rich snippets. They will focus and support only Their statement said that seeing increased usage for markups they will focus on supporting only one structure for rich snippets.

For most of the users that currently have snippets of code that used, this will translate at first into a warning notification on your Search Console with a message looking like this: " schema deprecated". 

First of all let us understand what or is. Or even what is structured data and how it helps us and where is it located.

Structured data is a standardized format for providing information about a page and classifying the page content; for example, on a recipe page, what are the ingredients, the cooking time and temperature, the calories, and so on. Google uses structured data that it finds on the web to understand the content of the page, as well as to gather information about the web and the world in general. data resides inside the HTML code of your website and looks like this:

<div itemscope itemtype="">...</div> data type looks quite similar, but it is the supported type now:

<ol itemscope itemtype="">...</ol>

Notice how data-vocabulary uses <div> to declare breadcrumbs then <span> and uses <ol> (ordered lists) and then <li> (list item). This is just a simple reason Google chooses type. It is much more better organized as a list than divs.

Before April 6th 2020 users that use will receive a warning in their search console, but after this date the warning is replaced by an error. Also after this date data-vocabulary structured data will no longer generate rich results snippets.

Fixing the " schema deprecated" error/warning

If you are using a CMS like Shopify or Wordpress that use templates for different pages it is simple:

  1. Log into your Admin panel
  2. Reach the code editor and navigate to the template that holds the data causing these warnings
  3. Replace all itemtype attributes that have as values with
  4. Save the file and inspect your page again with Structured Data Testing tool
  5. If everything looks ok, validate the changes on Google Search Console

For non-CMS users the solution is exactly the same, except you will most certainly have the code structured in another way. Find all values and replace them with

A more advanced approach could be to replace the micro-data with JSON-LD schema. Micro-data resides inside your HTML code and is quite hard to manage as your website scales. JSON-LD schema can stay inside a single file and included in all the pages. This makes it extremely easy to maintain and with some clever coding it can even generate data dynamically. Also Google states that although it supports both micro-data and JSON-LD schema, the latter is prefered.

No matter the approach you chose to handle this issue, make sure to have only one type of structured data installed on your website, as multiple instances of the same thing will cause conflicts or errors, or maybe Google will ignore all of them and not generate rich snippets.


Hi Raja!
From your WP dashboard, go to Appearance > Code editor.
Here you can search for the file that holds the structured data with those deprecated tags.
After finding the file, just follow the above steps



Can you explain a bit for WordPress. How to fix in WordPress?


still i could not get bro.Can you suggest me any video


Leave a comment

Please note, comments need to be approved before they are published.