Skip to content
Enjoy 20% off for 12 months on all plans. Use promo code: HYPERGROWTHClaim it

WordPress Breadcrumbs: How to Add and Fix Them in 2026

By Toy Wen Da, Co-Founder · Updated · 13 min read · scored 96/100

WordPress breadcrumbs are the row of links under your page title, like Home > Blog > Your Post, which shows visitors where they are and tells search engines how your content is organized. The fastest way to add them is to enable the breadcrumbs setting in Yoast SEO, Rank Math or All in One SEO, then paste a short code snippet or shortcode into your theme.

Close-up view of breadcrumb-coated balls, ideal for culinary presentation.

If you want to get this right across an entire WordPress site, SearchBlueprint's WordPress SEO guide lays out the settings to change in order, including where breadcrumbs fit next to your titles, sitemap and schema markup. It suits people who want the whole setup checked.

What are WordPress breadcrumbs, and why do they matter for SEO?

Breadcrumbs are the trail of links just below your header that runs from your homepage to the page someone is reading. Clicking any link in the trail jumps straight back to that level, so nobody has to hit the back button.

They matter for two reasons. They help visitors move around a big site without getting lost, which is especially useful on blogs and online stores with deep category structures. They also help search engines understand how your content connects, since a clear trail tells Google's crawlers which page is a parent, which is a child and which pages belong to the same section.

The second reason has a visible payoff. When a page carries BreadcrumbList schema markup, Google can display the breadcrumb trail right in the search result instead of the raw URL, according to Google's own structured data documentation. Most SEO plugins add this schema automatically the moment you switch breadcrumbs on, so you rarely need to write it yourself.

Three types of breadcrumbs

Not every WordPress breadcrumb trail works the same way, and the type you see depends on the kind of content and the plugin behind it.

Breadcrumb type How it works Best used on Common WordPress source
Hierarchy-based Shows the site's structure (Home > Category > Page) Blogs, business sites, service pages Yoast SEO, Rank Math, most themes
Attribute-based Shows the filters or attributes a shopper picked Online stores with product variants WooCommerce breadcrumb plugins
History-based Shows the actual path a visitor clicked through Sites with complex internal search or filtering Custom-built or history-tracking plugins

Most WordPress sites only need hierarchy-based breadcrumbs, while attribute-based trails matter more for stores where shoppers filter by size or color before landing on a product.

Detailed close-up of panko breadcrumb texture, useful for culinary backgrounds and recipes.

How to add breadcrumbs in WordPress

You have four realistic routes: your existing SEO plugin, a dedicated breadcrumbs plugin, a theme with built-in support or a manual code snippet. Pick whichever matches what's already running on your site.

Method 1: turn on breadcrumbs in Yoast SEO

If Yoast SEO is already active, this is the quickest path.

  1. Install and activate Yoast SEO from your WordPress dashboard if you haven't already.
  2. Open the SEO menu in your dashboard sidebar and look for the breadcrumbs option inside the settings, usually grouped under an advanced or structure-related section.
  3. Switch the breadcrumbs toggle on.
  4. Add a short PHP snippet to your theme so the trail renders, because Yoast generates the data but doesn't force it onto the page:
<?php
if ( function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
}
?>

Paste this into single.php if you only want breadcrumbs on blog posts, or into header.php if you want them site-wide. Use a child theme for the edit, since a parent theme update can wipe out custom code.

If you're comparing Yoast against Rank Math for this exact job, this side-by-side breakdown covers how each one handles breadcrumbs, with redirects and schema covered too.

Method 2: turn on breadcrumbs in Rank Math

Rank Math handles breadcrumbs with less manual code.

  1. Open Rank Math in your dashboard and go to its general settings.
  2. Find the Breadcrumbs tab.
  3. Enable breadcrumbs, then set your separator and home label and choose whether to show categories.
  4. Rank Math gives you a shortcode, typically [rank_math_breadcrumb], which you drop into a template file or widget area to display the trail.

Rank Math tends to need less custom PHP than Yoast for a basic trail, which is one reason agencies managing several client sites lean on it. For a wider look at how the two plugins compare beyond breadcrumbs, see this Rank Math vs. Yoast comparison.

Method 3: turn on breadcrumbs in All in One SEO

All in One SEO (AIOSEO) follows a similar pattern.

  1. Open All in One SEO in your dashboard and go to Search Appearance.
  2. Find the breadcrumbs section and toggle it on.
  3. Customize the separator and choose which taxonomies appear in the trail.
  4. Place the trail where you want it with the shortcode AIOSEO provides, or with its block or widget option.

Because breadcrumbs sit next to the settings for your titles and descriptions, it's worth checking your page titles at the same time. This guide to setting a WordPress SEO title shows how to get that piece right so Google doesn't quietly rewrite it.

If you're deciding between AIOSEO and Yoast for your whole site, this comparison is worth reading first.

Method 4: use a dedicated breadcrumbs plugin

If you don't want to run a full SEO suite just for navigation links, a standalone plugin works too. Breadcrumb NavXT is one of the most widely used options outside the big SEO suites; it adds a breadcrumbs widget you drag into any widget area, such as a sidebar or footer, and it includes schema markup out of the box.

To set it up:

  1. Install and activate the plugin.
  2. Go to Appearance > Widgets.
  3. Drag the Breadcrumb NavXT widget into your chosen widget area.
  4. Open its settings and choose whether to link the current page, whether to hide the trail on the homepage and how to order categories.
  5. Save, then check the front end of your site.

Other standalone options add breadcrumbs through a shortcode you can drop into any page, post or widget, which gives you more control over placement than a theme-locked setting. If you want a broader shortlist of free tools before committing to one, this roundup of free SEO tools for WordPress organizes options by task.

Method 5: use a theme with built-in breadcrumb support

Some WordPress themes ship with breadcrumb support, usually through a shortcode or a Customizer toggle. It only makes sense when you're building a new site or doing a full redesign, since switching themes just to get breadcrumbs rarely justifies the disruption to an established site.

Such themes typically give you a shortcode, something like [oceanwp_breadcrumb], that you place in a page, post or text widget, with parameters to adjust color, hover color and custom CSS classes.

Delicious close-up of crispy, golden fried food with a breadcrumb crust on a white plate.

Styling and customizing your breadcrumb trail

A Muscovy duck near rocks and breadcrumbs in Kakopetria, Cyprus.

Once the trail is live, most site owners want to adjust how it looks and reads.

The default separator in most plugins is the » character, which works but can look dated against a modern design, so most plugins let you swap it for a forward slash, an arrow or a custom icon. Check how your separator renders on mobile before you commit, because a symbol that looks sharp on desktop can wrap awkwardly on a small screen.

You can usually also customize the following:

  • The "Home" label: change it to match your brand voice, like "Start" or "Dashboard" for a membership site.
  • Prefix text: add something like "You are here:" before the trail for extra clarity, which is particularly useful for accessibility.
  • Per-page overrides: rename how a single page's label appears in the trail without touching its actual title or URL, so "Services" can read as "What We Do" in the breadcrumb and stay "Services" everywhere else.
  • Category and taxonomy display: choose whether tags, custom taxonomies or WooCommerce product categories show up in the path.

Most of these settings live in the same screen where you turned breadcrumbs on. If your plugin doesn't expose one in its interface, a filter hook in your theme's functions.php file can usually do it, though a developer should handle that edit if you're not comfortable with PHP.

For a comparison of which WordPress SEO tools offer this level of control and which only offer basic on/off switches, this 2026 roundup breaks down free versus paid feature sets plugin by plugin.

Common causes of missing or broken breadcrumbs

Most breadcrumb problems trace back to a handful of causes, and the table below helps you diagnose which one you're looking at.

Symptom Likely cause Fix
No breadcrumbs appear anywhere Breadcrumbs toggle is off, or the code snippet was never added to the theme Enable the setting, then confirm the shortcode or snippet is in the template
Breadcrumbs work on pages but not posts Theme template for posts doesn't include the snippet Add the snippet to single.php specifically
Trail shows the wrong category Post has multiple categories and no primary category set Set a primary category in the post editor
A link in the trail leads to a 404 A parent page or category was deleted or renamed without a redirect Set up a redirect from the old URL to the new one
Breadcrumbs disappeared after a theme update Theme update overwrote the custom code snippet Move the snippet into a child theme so updates don't erase it
Trail looks fine but doesn't show in Google results BreadcrumbList schema isn't firing, or Google hasn't recrawled the page yet Validate the schema and request reindexing

A 404 inside the trail deserves quick attention, since a broken breadcrumb link sends both visitors and crawlers to a dead end. If you spot one, this step-by-step guide to fixing a broken link with a 301 redirect walks through the fix in three steps.

Close-up of a vintage typewriter with a paper displaying 'WordPress', ideal for blogging and writing concepts.

When WordPress's built-in tools are enough, and when they're not

Most guides skip this part, yet it decides whether you need outside help.

When the free, DIY route works fine

If you're fixing breadcrumbs on one page, or turning them on for a brand-new small site, a plugin toggle and a code snippet are genuinely enough. You don't need a developer or a paid tool to:

  • Enable breadcrumbs site-wide for the first time
  • Fix one broken link in a trail
  • Change a separator or the "Home" label
  • Set a primary category so one post stops showing the wrong parent

Each of these is a one-off task with a clear, visible fix, and you can confirm it worked by loading the page.

When you need more than a toggle

The DIY route starts to break down when the problem is structural and no longer cosmetic. Watch for these situations:

  • Breadcrumbs are wrong across dozens or hundreds of pages. This usually means your category structure or custom post types need rethinking, and another plugin setting won't help.
  • You're running WordPress.com instead of self-hosted WordPress, where plugin access and theme editing work differently. SearchBlueprint's WordPress.com SEO guide covers what's actually editable on that platform and what publishing verification looks like there.
  • Posts need to sit under pages in a way WordPress won't allow by default. Posts are chronological and pages are hierarchical, so a post can't nest under a page without a workaround, such as converting the content to a custom post type or relying on category-based breadcrumbs.
  • The problem keeps recurring. If breadcrumbs break after every content update or theme change, your setup is fragile and needs a permanent fix in place of another patch.
  • You're weighing up platforms altogether. If breadcrumb and navigation quirks have you wondering whether WordPress is the right platform, this breakdown of what WordPress and Squarespace actually cost is worth reading before you rebuild anywhere else.

Be honest about which category you're in. A single wrong breadcrumb is a five-minute job, whereas a site-wide structural mismatch is a project, and treating it like a quick plugin fix usually buries the real problem under more settings.

Choosing the right plugin for the job

Basic SEO plugins turn breadcrumbs on or off and let you pick a separator. Dedicated breadcrumb plugins go further, with per-page overrides and widget placement. Here is how the common options line up.

Plugin Setup effort Styling control Schema markup included Best for
Yoast SEO Low (toggle) plus one code snippet Moderate Yes Sites already using Yoast for SEO
Rank Math Low (toggle plus shortcode) Moderate to high Yes Sites wanting less manual code
All in One SEO Low (toggle plus shortcode) Moderate Yes Sites already using AIOSEO
Breadcrumb NavXT Moderate (widget setup) High Yes Sites that want breadcrumbs without a full SEO suite
Theme-native breadcrumbs Low if already using that theme Theme-dependent Varies New builds or full redesigns

If you're still deciding which SEO plugin to run site-wide, this rundown of what actually works in 2026 compares the major options feature by feature.

Common mistakes to avoid

A few mistakes show up again and again when site owners add or edit WordPress breadcrumbs:

  • Editing the parent theme directly. Any custom breadcrumb snippet you add to header.php or single.php gets wiped out the next time the theme updates, unless you work in a child theme.
  • Forgetting to set a primary category. A post filed under three categories will show whichever one WordPress picks first in the trail, which isn't always the one you intended.
  • Assuming breadcrumbs fix a messy site structure. Breadcrumbs reflect your hierarchy and don't create one, so messy categories produce a messy trail.
  • Leaving a deleted page's old URL unredirected. This produces a dead link inside your own navigation trail, and it's an easy miss because it only shows up when you click through it.
  • Styling before confirming the trail renders. Spend five minutes checking that the breadcrumb shows up at all before you spend an hour on separator colors and fonts.
  • Ignoring WooCommerce pages. Standard breadcrumb settings in an SEO plugin don't always extend cleanly to product and shop pages, so check those separately if you run a store.

FAQ

Do I need a plugin to add breadcrumbs in WordPress?

Not strictly, but it's the easiest route for almost everyone. WordPress core doesn't generate breadcrumbs on its own, so without a plugin you'd need to write custom PHP to query the page hierarchy and output a trail. Yoast, Rank Math and All in One SEO all handle that work for you.

Why aren't my Yoast breadcrumbs showing up?

The most common reason is that the breadcrumbs setting is enabled inside Yoast but the code snippet that displays the trail was never added to the theme. Yoast generates the breadcrumb data regardless, yet it still needs the yoast_breadcrumb() snippet in a template file, like header.php or single.php, to appear on the page.

Can I change the breadcrumb separator or text?

Yes. Every major SEO plugin and dedicated breadcrumbs plugin lets you swap the separator character and rename the "Home" label. Many also support per-page overrides, so a page titled "Services" can show as "What We Do" in the trail without changing its actual title.

Do breadcrumbs actually help SEO?

They help in two concrete ways: they make your site's structure clearer to search engine crawlers, and they can trigger BreadcrumbList schema, which lets Google display the trail directly in search results instead of a raw URL. Neither effect is a ranking shortcut on its own, but both support how well search engines understand and present your site.

How do I remove breadcrumbs from WordPress?

Turn off the breadcrumbs toggle in whichever plugin you used to enable them, and delete or comment out any code snippet you added to your theme files. If a widget-based plugin like Breadcrumb NavXT added the trail, remove the widget from Appearance > Widgets instead.

Get your breadcrumb setup checked

Start with the plugin you already have installed. If Yoast, Rank Math or All in One SEO is active, turning on breadcrumbs takes one toggle and, in Yoast's case, one short code snippet. Fix any broken links in the trail first, since they hurt both visitors and crawlers, then move on to styling once the basics work. If you'd rather see where your WordPress breadcrumbs, schema and the rest of your technical SEO stand today, talk to the team and get a sample report built around your actual site.

See what this looks like on your own sitePaste a URL and SearchBlueprint scores it on the same content engine that scored this article, then names the fixes in the order they pay off.Get your free plan

Sources

About the author

SearchBlueprint researched, wrote and scored this article with the content pipeline our customers run on their own sites. The score in the byline is what our content engine gave this page before it published. Nothing here is reviewed by hand, which is the point: it is the product's output, published where anyone can check it.

All WordPress guides