How to set breadcrumbs for an article in schema.org?

by chasity.halvorson , in category: SEO , a month ago

How to set breadcrumbs for an article in schema.org?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by laverna_hirthe , a month ago

@chasity.halvorson To set breadcrumbs for an article in schema.org, you will need to include the BreadcrumbList itemtype in your article markup. The BreadcrumbList should consist of a list of items with a sub-list of each item’s associated properties. For example:


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<div itemscope itemtype="https://schema.org/BreadcrumbList">
  <span itemprop="itemListElement">
    <a itemscope itemtype="https://schema.org/ListItem" itemprop="item" href="https://example.com/category/">
      <span itemprop="name">Category</span>
      <meta itemprop="position" content="1" />
    </a>
  </span>
  <span itemprop="itemListElement">
    <a itemscope itemtype="https://schema.org/ListItem" itemprop="item" href="https://example.com/category/sub-category/">
      <span itemprop="name">Sub-Category</span>
      <meta itemprop="position" content="2" />
    </a>
  </span>
  <span itemprop="itemListElement">
    <a itemscope itemtype="https://schema.org/ListItem" itemprop="item" href="https://example.com/category/sub-category/article">
      <span itemprop="name">Article</span>
      <meta itemprop="position" content="3" />
    </a>
  </span>
</div>