What are breadcrumbs?

What are breadcrumbs
and why are they important for SEO?

What are breadcrumbs and why are they important for SEO?

Breadcrumbs are an important part of almost any good website. These little navigational aides don’t just help people visualize where they are on your site, but also help Google determine how your site is structured. That’s why it makes a lot of sense to add these helpful little pointers. Let’s see how breadcrumbs work.

Want to make your search results stand out in Google and Bing? Learn how in our Structured data training! »

Structured data training Info

What are breadcrumbs?

When Hansel and Gretel went into the woods, Hansel dropped pieces of bread on the ground so they could find their way home if the two of them ever got lost. These breadcrumbs eventually became the model for the breadcrumbs we see on websites nowadays. A breadcrumb is a small text path, often located at the top of a page. On yoast.com, for instance, the path to our Yoast SEO plugin page is Home > WordPress Plugins > Yoast SEO for WordPress. This breadcrumb immediately shows you where you are. Every part of that path is clickable, all the way to the homepage.

Breadcrumbs also appear in Google. If you use Yoast SEO or add the correct form of structured data to your site, search engines can pick up this data and could show your breadcrumbs in the search results. These provide users an easy to understand overview of where the page sits on your site. Yoast SEO automatically adds the necessary structured data in JSON-LD format for you. Flip the switch and see the necessary lines show up in your source code.breadcrumb seo google example

Different kinds

Looking closely, we can distinguish different types of breadcrumbs. These are the three most common types of breadcrumbs you will find on sites:

Hierarchy based breadcrumbs

These will pop up most often. We use them on our site as well. Breadcrumbs like this will tell you where you are in a site structure and how many steps you can take to get back to the homepage. Something like Home > Blog > Category > Post name.

breadcrumbs hierarchy

Attribute based breadcrumbs

Attribute based breadcrumbs appear after a certain selection has been made, for instance, while searching for a product on an e-commerce site. Maybe, Home > Product category > Gender > Size > Color.

breadcrumbs attribute

History based breadcrumbs

History based breadcrumbs do what it says on the tin; they are ordered according to what you have been doing on the site. Think of these as a replacement for your internet history bar. These would appear like this: Home >  Previous page > Previous page > Previous page > Current page. It’s also possible to combine these like Macy’s does in the screenshot below.

breadcrumbs history

Advantages to using breadcrumbs

There are a couple of advantages to using breadcrumbs on your site. Let’s go over them quickly:

1. Google loves them

Your visitors like breadcrumbs, but Google likes them as well. Breadcrumbs give Google another way of figuring out how your website is structured. In addition to that, Google might use your breadcrumbs to show these in the search results. This way, your search result will at one become much more enticing to users. To increase the chance to get these breadcrumbs in Google, you need to add structured data or use Yoast SEO.

2. They enhance the user experience

People hate to get lost. When confronted with a new location, people often look around in search of recognizable objects or landmarks. The same goes for websites. You need to keep visitors happy and reduce as much friction as possible. Breadcrumbs can help your user experience since it is a well-known interface element that instantly shows people a way out. No need to click the back button!

3. They lower bounce rates

Hardly anyone comes in via the homepage anymore. It’s all organic search nowadays. That means every part of your site could be an entry point. You must come up with a way to guide these visitors to other parts of your site if the selected page does not meet their expectations. Breadcrumbs can lower bounce rates because you’re offering visitors an alternative means of browsing your site. Don’t you think it’s better to send a visitor to your homepage than back to Google?

How to add breadcrumbs

There are several ways of adding breadcrumbs to your site. Firstly, if you use a WordPress site, you can use one of the many breadcrumb plugins or just use Yoast SEO. If you use a different CMS the process might be different. It is also possible to add them by hand. If you want them to appear in Google as well, you need to use structured data in a way that Google understands. You can find more information on this in Google’s developer documentation on breadcrumbs.

Yoast SEO offers an easy way to add breadcrumbs to your WordPress site. It will add everything necessary to add them not just visible on your site, but get them ready for Google as well. To add breadcrumbs to your site, you need to add the following piece of code to your theme where you want them to appear:

<?php
if ( function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb( '</p><p id="breadcrumbs">','</p><p>' );
}
?>

This code can often be placed inside the single.php or page.php files, just above the title of the page. Some themes want it at the end of the header.php file. Try not to add it to functions.php since this could create problems.

After adding the code, you can go to the advanced settings of Yoast SEO and switch on breadcrumb support. Here, you can also determine how the breadcrumb structure will look and what prefixes will be used. Find out more on our Knowledge Base page on implementing breadcrumbs with Yoast SEO.

search appearance breadcrumbs yoast seo

Conclusion

While using breadcrumbs, Hansel and Gretel still got lost in the woods. Don’t let that happen to your visitor. Breadcrumbs provide an easy to grasp way of navigating for users. Visitors instantly understand how the site structure works. For the same reason, Google loves them as well. Use Yoast SEO to add breadcrumbs to your site easily.

Read more: Site structure: the ultimate guide »


Leave a reply

You have to agree to the comment policy.

14 Responses to What are breadcrumbs and why are they important for SEO?

  1. Richard Warren
    Richard Warren  • 2 days ago

    Hello,
    This is a wonderful article with lots of unique tips.
    I always come to your site and try to read all of your posts.Keep it up.

    Thanks

  2. Goliath Media Solutions
    Goliath Media Solutions  • 2 days ago

    Great post Edwin. I have also found that breadcrumbs increase UX which plays a huge part in how you rank these days. Yoast makes it super easy to add this feature and I would highly reccomend

  3. Rahul Mukherjee
    Rahul Mukherjee  • 2 days ago

    Hi, it’s a good article, but I have a question. On my blog https://rahulmukherjee.com, I use Yoast and Schema plugin both, as yoast can’t provide everything, yet it claims to be the the number 1. However what is the difference between breadcrumbList and normal breadcrumbs? Also, for the development thing why yoast is not focusing on the bugs which are already too much to solve as there is nothing you say a enhancements in your releases. Also what good releasing any plugin with 100 bug and 1 enhancement (if there is enhancement at all)? making cosmetic changes are never a part of any development, that even a child knows and you are releasing synonyms on top of that to maximize the pain of people! Strange!

  4. Michiel
    Michiel  • 4 days ago

    Breadcrumbs are a great addition to your site and it can definitely add to user experience. If only Hansel and Gretel had had Yoast SEO breadcrumbs, they wouldn’t have gotten lost in the woods.

    • Rahul Mukherjee
      Rahul Mukherjee  • 2 days ago

      That was a real punch! :P

  5. Matt
    Matt  • 4 days ago

    Hi, do we need to add that piece of code?
    I have breadcrumbs enabled without adding it… it is showing on the post, but will it also show on Google results?
    Thanks

  6. Drive digital
    Drive digital  • 4 days ago

    thanks for the valuable information I am using your plugin on all my website it’s really helpful :)

  7. Kingsley Felix
    Kingsley Felix  • 6 days ago

    Thanks for this, i use yoast breadcrumb on my site, the best part is my theme has structured data as well so they both work well

  8. vimal
    vimal  • 6 days ago

    Hi. Do I need to add the code above because I am getting errors when adding this. Its saying syntax error, unexpected ‘>’

    Thanks

    • Edwin Toonen

      Sorry ’bout that! The code is now fixed.

  9. ape
    ape  • 6 days ago

    Code posted doesn’t work :(

    Try this instead:
    <?php
    if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('’,”);
    }
    ?>

  10. Karel
    Karel  • 6 days ago

    Thank you so much: had no clue, now I know what to do!

    • Edwin Toonen

      Great to hear, Karel!

      • David
        David  • 2 days ago

        I just create a new website and install Yoast SEO, Best Plugin Guys, Thank you


Check out our must read articles about User eXperience (UX)