# Implement breadcrumbs

- Check 02.06 · Architecture and navigation · Critical
- Source: https://checklist-seo-geo.com/en/architecture-navigation/implement-breadcrumbs
- Add accessible breadcrumbs and BreadcrumbList markup on WordPress, Shopify, PrestaShop, Magento, Drupal, Laravel or Next.js, then validate them.
- Updated on 2026-11-27
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/architecture-navigation/implement-breadcrumbs.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Breadcrumbs are the line of links that shows where the page sits in the site: `Home > Thé vert > Sencha > Sencha Kagoshima bio`. They are made of two elements: visible HTML links, and `BreadcrumbList` structured data markup that describes the same path to search engines. Once the task is done, every page below the home page displays its breadcrumbs, each level is a crawlable link, and the markup passes the Rich Results Test. Breadcrumbs provide the minimum of bottom-up linking, without replacing links placed in the text: see [set up top-down, bottom-up and cross internal linking](https://checklist-seo-geo.com/en/internal-linking/top-down-bottom-up-cross-internal-linking).

## Why it matters

**For search engines, they are links and a hierarchy signal.** Each element of the breadcrumbs is an `<a href>` link to a parent page: sections receive a link from all their child pages, and each page is linked to its section. The `BreadcrumbList` markup describes that position explicitly.

**In Google's results, the display has changed.** Google uses the markup to show the page's path instead of the URL. Since January 2025, it only shows it on desktop: on mobile, results show only the domain. Google has stated that the markup is still supported and that sites do not need to take any action. Its documentation also recommends breadcrumbs that represent a typical user path rather than a copy of the URL structure.

**For visitors**, breadcrumbs are a landmark and a shortcut: going up one level without returning to the home page, especially for those who land directly on a product page from a search engine.

**For generative engines**, the breadcrumbs place the page within its topic, as text, in the HTML: `Home > Boilers > Servicing` says what the page is about and what it belongs to. This is useful context; nothing indicates that it influences citations on its own.

## What it improves

- **Internal linking**: each section receives a link from all its child pages.
- **Understanding of the hierarchy** by search engines.
- **Display in Google on desktop**: a readable path instead of the URL. Not guaranteed.
- **Navigation**: easy return to sections, especially from a landing page.
- **Accessibility**: the position in the site is announced to screen readers, with the right markup.
- **Rankings**: an indirect effect, through internal linking. The markup is not a ranking factor.

## How to check

1. **Visually**: open a product page, an article and a subcategory. Each level of the breadcrumbs must be a link, except the current page.
2. **In the initial HTML**: the breadcrumbs and their markup must be present without JavaScript execution.

```bash
curl -s https://example.com/the-vert/sencha/ | grep -o -E 'BreadcrumbList|aria-label="Breadcrumb"' | sort | uniq -c
```

A `BreadcrumbList` line confirms the markup. Two or more occurrences of `BreadcrumbList` may signal a duplicate (theme and SEO plugin), unless you deliberately declare several paths.

3. **Rich Results Test**: paste the URL; the result must show a valid “Breadcrumbs” item.
4. **Search Console**: the enhancement report dedicated to breadcrumbs lists valid pages and errors for the whole site. It is still available after the change in mobile display.

## How to implement

### Before you start

Common rules:

- **Path**: the one from the site tree, from the home page to the page. For a product filed in several categories, choose the main category. Google accepts several marked-up paths, but a single visible trail is clearer.
- **Current page**: last element, without a link, with `aria-current="page"`. In the markup, Google does not require the URL of the last element.
- **Labels**: short, the ones used in the menu. No added keywords.
- **Consistency**: the markup describes exactly the visible breadcrumbs, with the same labels and the same links.
- **A single markup** per page, unless multiple paths are intended. Disable the theme's or the plugin's.
- **No breadcrumbs on the home page.**

Reference HTML, following the W3C accessibility pattern (a named navigation region, an ordered list, the current page indicated):

```html
<nav aria-label="Breadcrumb" class="breadcrumbs">
  <ol>
    <li><a href="/">Home</a></li>
    <li><a href="/the-vert/">Thé vert</a></li>
    <li><a href="/the-vert/sencha/">Sencha</a></li>
    <li><span aria-current="page">Sencha Kagoshima bio</span></li>
  </ol>
</nav>
```

```css
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; content: "›" / ""; margin-right: .25rem; }
```

The second `content` declaration gives the separator an empty alternative text, which screen readers ignore; browsers that do not understand it keep the first one.

Matching JSON-LD markup, to place in the page:

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/" },
    { "@type": "ListItem", "position": 2, "name": "Thé vert", "item": "https://example.com/the-vert/" },
    { "@type": "ListItem", "position": 3, "name": "Sencha", "item": "https://example.com/the-vert/sencha/" },
    { "@type": "ListItem", "position": 4, "name": "Sencha Kagoshima bio" }
  ]
}
</script>
```

The URLs in the markup are absolute and canonical: no URLs that redirect, no parameters.

### WordPress

Versions: WordPress 6.4 to 7.1; Yoast SEO 20 and later, Rank Math 1.0, WooCommerce 9 to 11.

With **Yoast SEO**: `Yoast SEO > Settings > Advanced > Breadcrumbs`, turn on the breadcrumbs option for your theme, set the separator and the home page label, and save. Then display them:

- block theme: the “Yoast Breadcrumbs” block in the templates (`Appearance > Editor > Templates`), above the title in the Single Posts, Pages and Archive templates;
- classic theme: in a child theme, above the title in `single.php`, `page.php` or at the end of `header.php`:

```php
<?php
if (function_exists('yoast_breadcrumb')) {
    yoast_breadcrumb('<nav aria-label="Breadcrumb" class="breadcrumbs">', '</nav>');
}
?>
```

Yoast adds the `BreadcrumbList` markup to its JSON-LD graph.

With **Rank Math**: enable the Schema module, then go to `Rank Math SEO > General Settings > Breadcrumbs` (advanced mode required) and enable the feature. Display them with the `[rank_math_breadcrumb]` shortcode in a Shortcode block, or in the theme:

```php
<?php if (function_exists('rank_math_the_breadcrumbs')) { rank_math_the_breadcrumbs(); } ?>
```

**Native block**: since WordPress 7.0, the editor offers a Breadcrumbs block (`core/breadcrumbs`) that produces accessible breadcrumbs (`<nav>`, ordered list, `aria-current`) but no `BreadcrumbList` markup. If you use it, keep the SEO plugin's markup and check that the labels of the two match.

**WooCommerce** already displays breadcrumbs on store pages, and block themes have a Store Breadcrumbs block. Keep a single visible trail and a single markup: if the SEO plugin takes over, remove the theme's.

### Shopify

Versions: Online Store 2.0 themes, all plans, November 2026.

Most recent themes do not display breadcrumbs by default, or only on certain pages. Create the `snippets/breadcrumbs.liquid` file (`Online Store > Themes > … > Edit code`):

```liquid
{%- unless template.name == 'index' -%}
  {%- if template.name == 'product' -%}
    {%- if collection -%}
      {%- assign crumb_collection = collection -%}
    {%- else -%}
      {%- assign crumb_collection = product.collections.first -%}
    {%- endif -%}
  {%- endif -%}

  <nav aria-label="Breadcrumb" class="breadcrumbs page-width">
    <ol>
      <li><a href="{{ routes.root_url }}">Home</a></li>
      {%- case template.name -%}
        {%- when 'product' -%}
          {%- if crumb_collection -%}
            <li><a href="{{ crumb_collection.url }}">{{ crumb_collection.title }}</a></li>
          {%- endif -%}
          <li><span aria-current="page">{{ product.title }}</span></li>
        {%- when 'collection' -%}
          <li><span aria-current="page">{{ collection.title }}</span></li>
        {%- when 'blog' -%}
          <li><span aria-current="page">{{ blog.title }}</span></li>
        {%- when 'article' -%}
          <li><a href="{{ blog.url }}">{{ blog.title }}</a></li>
          <li><span aria-current="page">{{ article.title }}</span></li>
        {%- when 'page' -%}
          <li><span aria-current="page">{{ page.title }}</span></li>
      {%- endcase -%}
    </ol>
  </nav>

  {%- if template.name == 'product' -%}
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "BreadcrumbList",
      "itemListElement": [
        { "@type": "ListItem", "position": 1, "name": "Home", "item": {{ request.origin | append: routes.root_url | json }} },
        {%- if crumb_collection -%}
        { "@type": "ListItem", "position": 2, "name": {{ crumb_collection.title | json }}, "item": {{ request.origin | append: crumb_collection.url | json }} },
        {%- endif -%}
        { "@type": "ListItem", "position": {% if crumb_collection %}3{% else %}2{% endif %}, "name": {{ product.title | json }} }
      ]
    }
    </script>
  {%- endif -%}
{%- endunless -%}
```

Then, in the theme editor (`Customize`), add a “Custom Liquid” section at the top of the Product, Collection, Blog, Article and Page templates containing `{% render 'breadcrumbs' %}`. Adapt the markup to the other templates on the same principle.

`product.collections.first` takes the product's first collection, which is not necessarily the most relevant: organize your collections or use a “main collection” metafield. Product links to `/collections/…/products/…` keep the canonical product page at `/products/…`.

### PrestaShop

Versions: PrestaShop 8 and 9 (Classic and Hummingbird themes).

The Classic theme (the default up to PrestaShop 9.0) and Hummingbird (the default on new installations since 9.1) display breadcrumbs built from the product's default category, in `templates/_partials/breadcrumb.tpl`. In their recent versions, the `BreadcrumbList` markup is output as JSON-LD by `templates/_partials/microdata/head-jsonld.tpl`. Check that it is present with the Rich Results Test: a third-party or older theme may not have it, or may still carry it as microdata; in that case, add it in a child theme. For each product, check the default category on the product page: it is what sets the path.

### Magento

Versions: Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9, Luma theme.

The Luma theme displays breadcrumbs on categories and products. For CMS pages, the “Show Breadcrumbs for CMS Pages” option is in `Stores > Settings > Configuration > General > Web > Default Pages`. On product pages, the full path depends on the visitor's journey and on the “Use Categories Path for Product URLs” setting (`Catalog > Catalog > Search Engine Optimization`). Luma outputs no `BreadcrumbList` markup, and on product pages it builds the breadcrumbs in JavaScript, in the browser. Add the JSON-LD on the server side, with a layout block or an SEO extension, then check it with the Rich Results Test.

### Drupal

Versions: Drupal 10 and 11; Easy Breadcrumb module 2.x.

Place the system “Breadcrumbs” block in the region you want (`Structure > Block layout`). Core breadcrumbs are built from the URL segments; the Easy Breadcrumb module lets you use page titles and gives you better control over labels. Easy Breadcrumb can also add the JSON-LD markup (an option in its settings). Check whether your theme or a module already generates `BreadcrumbList` markup; if not, add the JSON-LD in the block template (`block--system-breadcrumb-block.html.twig`).

### Wix

Versions: Wix Editor and Wix Studio, all plans, November 2026.

The Breadcrumbs element is added from the editor's Add Elements panel; in the classic Wix Editor, it only appears once Dev Mode is turned on. Placed in the header, it is displayed on every page. It does not connect to dynamic CMS pages. For the markup, add your JSON-LD in the page's SEO panel, Advanced SEO tab, if it is not already there.

### Squarespace

Versions: Squarespace 7.1, all plans, November 2026.

Squarespace does not display breadcrumbs on most templates. Add them as HTML in a Code block on the relevant pages, with the JSON-LD from “Before you start” adapted to each page.

### Webflow

Versions: Webflow, all site plans, November 2026.

Create a breadcrumb component with Link elements, and for CMS collection pages, bind the levels to reference fields (parent category). Add the JSON-LD in the collection template's custom code (`Page settings > Custom code`, before `</body>`), inserting the CMS fields.

### Laravel

Versions: Laravel 10 to 13.

A Blade component that outputs the visible breadcrumbs and the markup from the same list:

```twig
{{-- resources/views/components/breadcrumbs.blade.php --}}
@props(['items'])

<nav aria-label="Breadcrumb" class="breadcrumbs">
    <ol>
        @foreach($items as $item)
            <li>
                @if($loop->last)
                    <span aria-current="page">{{ $item['name'] }}</span>
                @else
                    <a href="{{ $item['url'] }}">{{ $item['name'] }}</a>
                @endif
            </li>
        @endforeach
    </ol>
</nav>

@php
    $jsonLd = [
        '@context' => 'https://schema.org',
        '@type' => 'BreadcrumbList',
        'itemListElement' => collect($items)->values()->map(fn (array $item, int $index): array => array_filter([
            '@type' => 'ListItem',
            'position' => $index + 1,
            'name' => $item['name'],
            'item' => $item['url'] ?? null,
        ]))->all(),
    ];
@endphp

<script type="application/ld+json">{!! json_encode($jsonLd, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG) !!}</script>
```

Usage in a product view:

```twig
<x-breadcrumbs :items="[
    ['name' => 'Home', 'url' => url('/')],
    ['name' => $product->category->name, 'url' => route('categories.show', $product->category)],
    ['name' => $product->name],
]" />
```

`url()` and `route()` produce absolute URLs; the `JSON_HEX_TAG` option encodes the `<` and `>` characters so that a label cannot close the `<script>` tag. Avoid the `@json` directive here: it splits its argument on commas and breaks with an array written over several lines.

### Next.js

Versions: Next.js 15 and 16 (App Router).

A server component that renders the breadcrumbs and their markup, following the Next.js recommendation to escape `<` in JSON-LD:

```tsx
// app/components/breadcrumbs.tsx
import Link from 'next/link'

type Crumb = { name: string; href?: string }

const SITE_URL = 'https://example.com'

export default function Breadcrumbs({ items }: { items: Crumb[] }) {
  const jsonLd = {
    '@context': 'https://schema.org',
    '@type': 'BreadcrumbList',
    itemListElement: items.map((item, index) => ({
      '@type': 'ListItem',
      position: index + 1,
      name: item.name,
      ...(item.href ? { item: `${SITE_URL}${item.href}` } : {}),
    })),
  }

  return (
    <>
      <nav aria-label="Breadcrumb" className="breadcrumbs">
        <ol>
          {items.map((item, index) => (
            <li key={item.name}>
              {item.href && index < items.length - 1
                ? <Link href={item.href}>{item.name}</Link>
                : <span aria-current="page">{item.name}</span>}
            </li>
          ))}
        </ol>
      </nav>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(/</g, '\\u003c') }}
      />
    </>
  )
}
```

Call it from `page.tsx` with the page's data: `<Breadcrumbs items={[{ name: 'Home', href: '/' }, { name: 'Thé vert', href: '/the-vert/' }, { name: product.name }]} />`.

### Validate

After implementation: run the Rich Results Test on one example of each page type, then monitor the breadcrumbs report in Search Console over the following weeks. Fix errors on `item` (missing or invalid URL) and `name` (empty) first.

## Common mistakes

- **Two competing markups**, from the theme and from the SEO plugin, with different paths.
- **Visible breadcrumbs and markup that diverge**: different labels or levels between the HTML and the JSON-LD.
- **Breadcrumbs generated in JavaScript after load**: missing from the initial HTML for bots that do not run scripts.
- **Levels without a page**: a breadcrumb element that points to `#` or to a URL that redirects.
- **Breadcrumbs copied from the URL** when the URL does not reflect the hierarchy, for example `Home > Products > Sencha` on Shopify.
- **Keywords added to labels** (“Cheap organic green tea”): unreadable and with no benefit.
- **Forgetting `aria-current`** and the ordered list: the breadcrumbs lose their meaning for screen readers.

## Frequently asked questions

### Do breadcrumbs still appear in Google's mobile results?

No. Since January 2025, Google no longer shows breadcrumbs in mobile results, which display only the domain; they are still shown on desktop. Google has stated that BreadcrumbList markup remains supported and that no action is needed. Breadcrumbs mainly keep their value on the site itself: links to sections, a landmark for visitors and context for search engines.

### Should the current page be included in the breadcrumbs?

Yes, that is standard practice: the current page ends the trail, without a link, with the aria-current="page" attribute for screen readers. In BreadcrumbList markup, Google does not require the URL of the last element and even states that the current page's element is optional. What matters is that the markup matches the visible breadcrumbs, with the same labels and links.

### Which breadcrumbs for a product listed in several categories?

Choose a main category for each product and display the trail that leads to it, whatever path the visitor took. It is more stable for search engines and simpler to maintain. Google accepts marking up several paths for the same page, by declaring several BreadcrumbList items, but a single visible trail remains clearer. On Shopify or PrestaShop, the default category or a main collection serves as the reference.

### Does BreadcrumbList markup improve rankings?

No, BreadcrumbList structured data is not a ranking factor. It lets Google show the page's path in its desktop results and describes the site's hierarchy. The SEO benefit comes mainly from the visible breadcrumb links, which connect each page to its parent sections and strengthen internal linking, and from clearer navigation for visitors.

## Resources

- [Google Search Central: Breadcrumb structured data](https://developers.google.com/search/docs/appearance/structured-data/breadcrumb?hl=en)
- [Google Search Central: simplifying the visible URL element on mobile](https://developers.google.com/search/blog/2025/01/simplifying-breadcrumbs?hl=en)
- [schema.org: BreadcrumbList](https://schema.org/BreadcrumbList)
- [W3C WAI: Breadcrumb pattern](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/)
- [Yoast: implementing breadcrumbs](https://yoast.com/help/implement-wordpress-seo-breadcrumbs/) and [Rank Math: breadcrumbs](https://rankmath.com/kb/breadcrumbs/)
- [Wix: adding breadcrumbs](https://support.wix.com/en/article/wix-editor-adding-and-setting-up-breadcrumbs)
- [Next.js: implementing JSON-LD](https://nextjs.org/docs/app/guides/json-ld)

Next steps: [optimize footer links](https://checklist-seo-geo.com/en/architecture-navigation/optimize-footer-links) and [test Googlebot Smartphone rendering](https://checklist-seo-geo.com/en/mobile-first-responsive-design/test-googlebot-smartphone-rendering).
