Skip to content Are you an AI agent? QIO facts, prices and requests are here

7 min read

What are website breadcrumbs and how do you add them?

Breadcrumbs show visitors where they are on a site and help search engines understand how its sections fit together. We look at types of breadcrumb trail, BreadcrumbList markup and common mistakes.

A trail of chrome breadcrumbs leading to a small chrome house

Breadcrumbs are a line of navigation above the page heading showing the path from the home page to the current location, for example “Home → Catalogue → Sofas → Corner sofa”. This small element helps both visitors and search engines. Here’s how to build the trail and mark it up.

What are website breadcrumbs?

A breadcrumb trail is a series of links to the sections a page belongs to. Visitors can see where they are and move up a level in one click.

The name comes from Hansel and Gretel, who dropped breadcrumbs to find their way home. Links play that role on a website. A furniture shop might use “Home / Furniture / Sofas / Tivoli sofa”. The first three items are links. The last names the current page.

Types of breadcrumb trail

Trails can show the hierarchy, the attributes a visitor has selected or the pages they have visited. Hierarchical breadcrumbs suit most sites because they reflect the structure of the sections.

  • Hierarchy-based. Show the page’s place in the site structure, from home to section, subsection and page. They suit catalogues, company websites and knowledge bases.
  • Attribute-based. Show selected options, for example “Shoes → Men’s → Size 43 → Black”. These appear in catalogues with filters.
  • History-based. Trace the pages an individual visitor has opened. They change from visit to visit and add little beyond the browser’s Back button.

Breadcrumbs can look like plain text with separators, a series of buttons or links with drop-down menus listing neighbouring sections. The last option works well in large catalogues where shoppers may want to switch categories from a product page.

Why breadcrumbs matter to visitors and search engines

Breadcrumbs help visitors get their bearings and return to a section in a single click. They give search engines additional internal links and clues about site structure.

This is particularly helpful when someone lands directly on a product or article from search. A breadcrumb link takes them straight to related products or articles without a trip through the menu. It takes a well-planned hierarchy to make this work. See our guide to structuring a company website.

Every nested page links back to its parent sections. Crawlers can use those links to find categories and understand how their pages relate to them. Google and Yandex, Russia’s largest search engine, can also display a breadcrumb trail in the search snippet, the short preview of a page in the results. Google’s documentation says it displays this element only on desktop. Yandex uses BreadcrumbList for trails in snippets and does not guarantee display.

BreadcrumbList markup in JSON-LD and Microdata

A four-link chrome chain with a tag representing a breadcrumb trail
Each link represents a level in the site structure.

Schema.org is a shared vocabulary that websites use to describe their content to search engines. BreadcrumbList describes a breadcrumb trail. JSON-LD puts it in a separate block of code. Microdata adds attributes to the HTML of the visible links. Yandex documents only JSON-LD for breadcrumb trails.

Both formats use the same structure. BreadcrumbList contains an itemListElement list. Each entry is a ListItem with a position (starting at 1), a name (the visible label) and an item (the page URL). Google’s documentation requires at least two entries and allows you to omit item from the last one.

FeatureJSON-LDMicrodata
LocationA separate script block in the page codeitemscope, itemtype and itemprop attributes in the breadcrumb HTML
Relationship to visible linksYou need to keep the data in syncThe markup is part of the visible trail
SupportGoogle’s preferred format and the only one Yandex uses for trailsSupported by Google
MaintenanceEasy to generate on the serverEasy to break when editing a template

Yandex requires a URL for every entry except the last, links on the site’s own domain and error-free markup. It recommends up to three entries for a trail in search. “Home → Catalogue → Sofas → Corner sofa” has four, including the current page. You can keep all four on the site and in the markup. In the results, Yandex may show only the last few, omit the home link or skip an entry with an unusually short or long label.

Markup must match the visible trail

BreadcrumbList must describe the same trail visitors see on the page. Google explicitly prohibits marking up content missing from the page and requires structured data to represent the content accurately.

This rule comes from Google’s general structured data guidelines. Discrepancies often arise when the site generates JSON-LD separately from the template. For example:

  • A section appears only in the markup or only in the visible trail.
  • The markup uses long, keyword-heavy labels for items that have short names on the page.
  • The site includes markup but hides the breadcrumbs, sometimes only on mobile.
  • After a change to the site structure, the team updates the visible trail and overlooks the markup.

Generate the visible trail and the JSON-LD from the same data in the template. Check pages with a structured data validator after each change.

How to add breadcrumbs to a website

You can build breadcrumbs into the site template or enable a ready-made CMS component. Start the trail at the home page, end with the current page and use a consistent separator throughout the site.

Basic principles

  • Choose a stable route through the catalogue. A sofa featured under “Offers” should still have “Sofas” as its parent, where visitors can find similar models. The trail stays the same when someone arrives from search.
  • End with the current page, usually as plain text so visitors do not follow a link back to where they already are.
  • Place the trail below the site header and above the H1.
  • Put the trail in a navigation element with a label for screen readers. Mark the current page with aria-current="page", as recommended by the World Wide Web Consortium (W3C), which develops web standards.

In a site template

A developer can use the shared page template to list links to parent sections and generate JSON-LD from the same data. Build the trail automatically from the page’s position in the hierarchy so no one has to maintain it page by page.

In a CMS

In 1C-Bitrix, a CMS popular in Russia, the breadcrumb component (bitrix:breadcrumb) displays the trail. AddChainItem adds entries. In WordPress, plugins such as Yoast SEO offer a Breadcrumbs settings section and automatically add BreadcrumbList to the JSON-LD. A theme that does not support visible breadcrumbs needs a small template change.

Common breadcrumb mistakes

Common problems include trails that misrepresent the hierarchy, links to missing sections and markup that differs from the visible trail. A crawler follows links and finds unreachable sections. The structured data validator in Yandex Webmaster, Yandex’s equivalent of Google Search Console, shows fields and coding errors. Compare the labels and order with the actual page.

  1. Overlong trails. Five or six levels with lengthy labels spill onto a second line on a phone and become difficult to read.
  2. Broken links. A parent section has moved or disappeared, leaving a link to a 404 page or a redirect.
  3. A misleading hierarchy. A product from “Sofas” shows a path through “Offers” because someone added it there later.
  4. Breadcrumbs on the home page. A single entry conveys nothing. Omit the trail here.
  5. Small text and low contrast. Small, faint links are hard to read on a phone. Increase text size and contrast and leave room to tap each link.
  6. Markup without visible breadcrumbs. This breaches Google’s structured data guidelines.

Breadcrumbs are one part of navigation. It makes sense to review them alongside the section hierarchy, internal links and structured data in a technical SEO review.

Sources

Questions and answers

What do breadcrumbs show?

They show the path from the home page to the current page and let visitors jump to any parent section in one click.

What else are website breadcrumbs called?

You may see them called a breadcrumb trail, navigation trail or page path.

Does the home page need breadcrumbs?

No. The home page starts the trail. A single item tells the visitor nothing new.

Should breadcrumb levels match the URL structure?

They often do, but this is optional. Google recommends showing a typical route to the page instead of copying its URL.

Do breadcrumbs affect search rankings?

Search engines do not identify them as a separate ranking factor. They improve navigation, provide internal links to sections and can give users a clear trail in the search snippet.

Follow the journal

New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.

Read next

How can we help?
Discuss a project