[SOLVED] data vocabulary org schema deprecated

[SOLVED] data vocabulary org schema deprecated

Today, as I was verifying one of my websites, I noticed in my Google Search Console an error: data-vocabulary.org schema deprecated. As breadcrumbs are important for SEO, I searched for a solution for this new “Data vocabulary org Schema deprecated” issue.

data vocabulary org schema deprecated

I was using Dimox Breadcrumbs, an old code that allowed me years ago to embed breadcrumbs into WordPress theme designs. Now, as Google is constantly changing their algorithms and settings, we need to re-do some of this previous work.

There are 2 simple ways to solve this issue, you can choose the hard way or the lazy man way (that I actually used :)).

How to fix “data-vocabulary.org schema deprecated”

Few weeks ago Google announced they’ll slowly move from data-vocabulary.org to schema.org, so they’ll issue warnings in Google Console to all websites that still show the deprecated codes.

How do they look like?

Data-Vocabulary.org

Schema.org

The long hard way would be to replace:

  • DIV codes with OL,
  • “http://data-vocabulary.org/Breadcrumb” with “http://schema.ora/BreadcrumbList” etc.

Find the code that is similar to this:

<div itemscope itemtype="https://data-vocabulary.org/Breadcrumb">
<a href="https://example.org/dresses" itemprop="url">
<span itemprop="title">Dresses</span>
</a>
</div>
<div itemscope itemtype="https://data-vocabulary.org/Breadcrumb">
<a href="https://example.org/dresses/real" itemprop="url">
<span itemprop="title">Real Dresses</span>
</a>
</div>

And replace with a code that is similar to this:

<ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a itemprop="item" href="https://example.org/dresses">
<span itemprop="name">Dresses</span></a>
<meta itemprop="position" content="1″ />
</li>
<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="https://example.org/dresses/real">
<span itemprop="name">Real Dresses</span></a>
<meta itemprop="position" content="2″/>
</li>
</ol>

After you’ve made your changes, verify the snippet: Rich Results Test.

Second solution:

Install Yoast SEO or All in One SEO Pack and use their builtin breadcrumbs.