Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add Breadcrumbs in WooCommerce (Beginners Guide)

Have you ever wandered through a massive store, losing track of where you started and how to get back to the main aisle? Navigating a large online store can feel the same way.

Breadcrumbs are small navigational trails that show you the path you’ve taken on a website, like helpful signs that guide shoppers through your WooCommerce store.

Not only do they make it easier for customers to find their way around, they also give search engines a better understanding of your site’s structure, potentially boosting your SEO.

The good news is that adding breadcrumbs to your WooCommerce store is surprisingly simple. In this article, we will show you some easy methods to add WooCommerce breadcrumbs in no time.

Add WooCommerce Breadcrumbs

Why Should You Add WooCommerce Breadcrumbs?

Breadcrumbs are navigational links that appear at the top of your product pages or blog posts. These links show your visitors how they ended up on the page they’re currently viewing.

For example, if you have a WooCommerce store that sells clothes, then the breadcrumb menu could look something like this: Home » Men’s Fashion » Shirts & Polo » Formal Shirts.

WooCommerce Breadcrumbs example

Enabling breadcrumbs in WooCommerce makes it easier for your customers to navigate your online store and find the products they are looking for. They can easily click the product attributes or categories to view related products.

Breadcrumbs also help search engines understand the hierarchy and structure of the links on your eCommerce store. Search engines like Google even display them in the search results, which can boost your click-through rate.

That being said, let’s look at how you can enable breadcrumbs on your WooCommerce store. We will cover two methods, and the first is recommended for most users:

The easiest and most powerful way to add breadcrumbs in WooCommerce is with the All in One SEO plugin. It’s the best WordPress SEO plugin that helps you optimize your entire store for search engines.

With just a click, you can enable SEO-friendly breadcrumbs, but the plugin also handles everything from sitemaps to schema markup without you needing any technical skills.

At WPBeginner, we use All in One SEO across our entire portfolio of sites. It’s the most comprehensive toolkit on the market, which is why we switched from Yoast a few years ago.

You can also read our full review of AIOSEO for more details about our experience.

Note: For this tutorial, we will be using the AIOSEO Pro version because it includes breadcrumbs templates and offers more options for customization.

There is also a free version available which includes breadcrumbs but doesn’t offer breadcrumb templates.

First, you’ll need to install and activate the AIOSEO plugin on your website. You can refer to our guide for more details on how to install a WordPress plugin.

Upon activation, you’ll need to navigate to All in One SEO » General Settings and enter your license key. You can find the key in the AIOSEO account area.

All in One SEO license

Next, you’ll need to set up AIOSEO on your WooCommerce store using its setup wizard. If you need help, then you can follow our guide on how to set up All in One SEO for WordPress.

Once you’ve correctly configured the plugin on your website, you’ll need to go to the All in One SEO » General Settings page and then click on the ‘Breadcrumbs’ tab.

Enable breadcrumbs display in All in One SEO

After that, simply toggle the ‘Enable Breadcrumbs’ switch. Doing this will turn on the breadcrumbs feature in the background and AIOSEO will add the proper code (called schema markup) for search engines.

This step doesn’t make the breadcrumbs visible on your site yet. In the next steps, we’ll show you how to display them for your customers to see.

Next, you’ll need to customize the WooCommerce breadcrumbs. Simply scroll down and you’ll see the different ways to add breadcrumbs to your online store.

You can add them to any page or post manually by using a shortcode or block, or add them to a widget area. Advanced users can also use PHP code to add breadcrumbs to their theme template files.

We will show you how to add breadcrumbs to your WooCommerce products below, but first, let’s take a look at the customization options.

💡Pro Tip: Before using the methods below, it’s a good idea to check your theme’s settings first.

Many modern themes have a built-in breadcrumb option that works with AIOSEO. This is often the easiest way to add breadcrumbs that perfectly match your site’s design.

Breadcrumb display options

Now, if you scroll down to the Breadcrumbs Settings section, then you’ll see multiple settings to customize your breadcrumbs.

For instance, you can change the separator symbol, enable the homepage link, add a breadcrumb prefix, change the format, and more. You can even see a preview of how your navigational links appear on your WooCommerce store.

Breadcrumb settings

AIOSEO Pro also gives you access to breadcrumb templates. Think of these as a ‘recipe’ that defines how your breadcrumb navigation trail is built.

This allows you to create a different structure for your product pages, another for your blog posts, and so on, keeping your navigation clear and professional across your whole site.

AIOSEO Breadcrumb Templates

Not only that, but the WordPress plugin also offers different options to customize the template.

For instance, you can disable the option for ‘Use a default template’ and view more settings.

Customize product breadcrumb template

There are options to show the homepage link, post type archive link, taxonomy link, add tags to the template, and select whether you’d want to prioritize categories or tags taxonomy.

If you have parent categories set up for multiple products, then you can also customize them in the breadcrumb template editor.

When you are done, don’t forget to save your changes.

Next, you’ll need to add breadcrumbs to your WooCommerce product pages.

AIOSEO will show four different methods, but the easiest way is by using a shortcode to display the breadcrumbs navigational links on your online store.

Use a shortcode to add breadcrumbs

All you have to do is add the following shortcode where you’d like to show the breadcrumbs:

[aioseo_breadcrumbs]

This is a great option if you only want to add breadcrumbs to a few specific pages.

To do this, simply head over to Products » All Products and edit a product page. Next, you can add the shortcode in the WordPress editor’s ‘Text’ view and update your page.

However, for most users who want breadcrumbs on every page, we recommend using the sidebar widget method we cover next, as it saves you from editing each page one by one.

Add shortcode in product page

You can now visit your product page to see the breadcrumb navigational links in action.

This is what it looked like on our test website.

Breadcrumbs example

Besides that, you can also add breadcrumbs to your WooCommerce store’s sidebar. This way, you won’t have to edit each individual product page to show navigational links, since they’ll appear throughout your site in the sidebar.

To display breadcrumbs in the sidebar, you can head over to Appearance » Widgets from your WordPress admin area.

Click the plus sign icon in the top left, and then search for ‘breadcrumbs’ to find the ‘AIOSEO – Breadcrumbs’ widget. Simply drag and drop it into the sidebar. You can also enter a title for your navigational links.

AIOSEO Breadcrumbs widget

Once that’s done, you can click the ‘Save’ button.

Then, just view your WooCommerce store to see the breadcrumbs in the sidebar.

WooCommerce Sidebar Breadcrumbs

If you want to use other ways to add breadcrumbs to your WooCommerce store, then check out our guide on how to display breadcrumb navigation links in WordPress.

How to Add Breadcrumbs for Multiple Categories

Do you have products on your WooCommerce store that have multiple categories?

If yes, then setting up breadcrumbs correctly can be a challenge because WordPress doesn’t record the path a customer took to land on the product page.

However, AIOSEO automatically adds the first category in the breadcrumb and makes it easy to show the correct navigation menu for products that have multiple categories.

The plugin also offers a breadcrumb template that you can customize for WordPress taxonomies like product categories. All you have to do is head over to All in One SEO » General Settings and then select the ‘Breadcrumbs’ tab.

Next, scroll down to the ‘Breadcrumbs Templates’ section and select the Taxonomies tab. By default, the plugin will show the parent item link in the breadcrumb on your WooCommerce store.

Show parent category in breadcrumbs

If you disable the ‘Use a default template’ option, then you’ll see that the ‘Show parent item link’ is enabled. This way, you can easily show the primary category for any product on your website.

For example, let’s say you are running an online shoe store and one of the products is in both the Sneakers and Trainers categories.

Product has multiple categories

AIOSEO will automatically pick the first category.

Then, it will display that in the breadcrumb navigational menu.

Multiple category breadcrumb preview

Option 2: Use WooCommerce Breadcrumbs Plugin (Free and Simple)

Another way to enable breadcrumbs in WooCommerce is by using the WooCommerce Breadcrumbs plugin.

It’s a free WordPress plugin that allows you to add breadcrumbs to your online store. The plugin is easy to use but lacks the customization features that you will find in AIOSEO.

First, you’ll need to install and activate the WooCommerce Breadcrumbs plugin. For more details, you can refer to our tutorial on how to install a WordPress plugin.

Once the plugin is active, you can head over to Settings » WC Breadcrumbs from your WordPress admin area. After that, go ahead and click the checkbox for ‘Enable breadcrumbs.’

Enable WooCommerce Breadcrumbs

Next, you can change the appearance of the navigational links that will appear on your WooCommerce store.

The WooCommerce plugin lets you choose the breadcrumb separator symbol and HTML tags before and after your breadcrumbs.

Now, if you scroll down, then you’ll find more options for customization. For instance, you can change the text and URL for your homepage that will appear in the navigational links.

More WooCommerce Breadcrumbs settings

When you are done with the changes, don’t forget to click the ‘Save Changes’ button at the bottom.

Frequently Asked Questions (FAQs)

Here are some questions frequently asked by our readers about adding breadcrumbs in WooCommerce:

Do all WordPress themes support WooCommerce breadcrumbs?

Many modern themes, especially those built for WooCommerce, include their own breadcrumb functions. However, their appearance and settings can be limited.

Using a dedicated plugin like All in One SEO gives you much more control and ensures your breadcrumbs are fully optimized for search engines, no matter which theme you use.

Can I change the style and appearance of my breadcrumbs?

Yes. A plugin like AIOSEO lets you easily change separators, text, prefixes, and other display options from the settings menu.

For deeper visual changes, you can also apply custom CSS to match the breadcrumbs perfectly with your site’s branding and design.

Are breadcrumbs important for SEO?

Definitely. Breadcrumbs create internal links that help search engines like Google understand your site’s hierarchy and structure.

Google even shows breadcrumb trails directly in search results, which can improve your listing’s appearance and boost your click-through rate.

More WooCommerce Tips You’ll Love

We hope that this article helped you learn how to add breadcrumbs in WooCommerce. You may also want to see some other guides related to WooCommerce:

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

Comments

  1. Congratulations, you have the opportunity to be the first commenter on this article.
    Have a question or suggestion? Please leave a comment to start the discussion.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.