What it does
Three ways to add them
The Rilea Breadcrumbs block, the rilea_breadcrumb shortcode, or the rilea_breadcrumbs() function in your theme.
Schema built in
Every trail is also printed as BreadcrumbList schema, linked to the page in Rilea SEO's JSON-LD graph.
Primary categories
Posts and products in several categories use the primary category you choose, so the trail is always the one you want.
Custom labels
Give any post, page, category or tag a shorter breadcrumb title without changing its real title.
Your own style
Choose the separator, the home label and an optional prefix, and style it with your theme's CSS.
WooCommerce ready
Product trails follow product categories, with their parent categories included.
Set it up
- 1
Turn them on
Go to Rilea SEO, then Settings, then Breadcrumbs. Breadcrumbs are on by default; set your separator and home label.
- 2
Add them to your theme
Insert the Rilea Breadcrumbs block in your template, or add the shortcode or PHP function where you want the trail.
- 3
Check the result
View a post and a category page, then run one through Google's Rich Results Test to see the breadcrumb schema.
How it compares
- Rilea SEO
- Free: block, shortcode, PHP function and schema
- Yoast SEO
- Included in the free plugin
- Rank Math
- Included in the free plugin
Feature details from yoast.com, rankmath.com and the plugins' WordPress.org pages, checked November 2026. Plans change, so check their sites for current details.
Questions
Do breadcrumbs help SEO?
They help search engines understand your site structure, and Google can show the trail in search results instead of the full URL. They also give visitors an easy way to move up a level.
Will the schema appear without the visible trail?
Yes. Rilea SEO adds BreadcrumbList schema to the page's JSON-LD whether or not you display the trail, as long as breadcrumbs are enabled.
Can I hide the current page title?
Yes. Turn on the option to hide the current post title, and the trail stops at the parent category or page.
What breadcrumbs are
Breadcrumbs are the small trail of links near the top of a page that shows where it sits in your site, such as Home » Guides » Running » Choosing trail shoes. Each step is a link back up the structure, and the last item is the page you're on. The name comes from the fairy tale, where a trail of crumbs marks the way home.
On a small site with a flat structure, breadcrumbs add little. On a blog with categories, a shop with product categories, or a site with nested pages, they do three useful jobs at once: they orient visitors who arrive from search, they give them a quick way to explore related content, and they describe your site's structure to search engines in a form they understand.
Why they matter for SEO
Search engines read breadcrumbs in two ways. The visible links are ordinary internal links, so every post links back to its category and every category to its parent, which strengthens the pages that sit higher in your structure. And the BreadcrumbList schema that comes with them states the trail explicitly, so search engines don't have to guess how your pages relate.
Google uses that information in search results. Instead of showing a long URL under your page title, it can show a cleaner path built from your breadcrumbs. That makes it easier for searchers to see what kind of page they'll land on before they click.
Breadcrumbs also reduce dead ends. A visitor who lands on a product that isn't quite right can step up to the category in one click, rather than going back to the search results.
How Rilea SEO builds the trail
Rilea SEO works out each trail from the page being viewed, following WordPress's own structure:
- Posts. Home, then your blog page if you use a static front page, then the post's category and its parent categories, then the post. If a post is in several categories, Rilea SEO uses the primary category you choose in the editor; otherwise it uses the first one.
- Pages. Home, then each parent page in order, then the page. A page at /services/web-design/ shows Home » Services » Web Design.
- Products. Home, the shop archive where your theme has one, then the product's primary product category and its parents, then the product.
- Custom post types. Home, the post type's archive if it has one, then any parent posts, then the item.
- Category, tag and custom taxonomy archives. Home, the blog page for categories and tags, any parent terms, then the term itself.
- Search results, author archives, date archives and the 404 page. Home, then a clear label such as "Search results for" followed by the search.
The front page shows just the home link. The last item in every trail is plain text rather than a link, and it's marked as the current page for screen readers.
Adding breadcrumbs to your site
Rilea SEO gives you three ways to place the trail, so it works with block themes, classic themes and page builders.
The Rilea Breadcrumbs block
In a block theme, open the Site Editor, choose the template you want, such as Single Posts, and add the Rilea Breadcrumbs block above the post title. In a single post or page, you can add the same block in the editor. The block uses your settings, so you don't configure anything in the block itself.
The shortcode
In page builders and widget areas that accept shortcodes, add rilea_breadcrumb in square brackets. It outputs the same trail as the block.
The PHP function
In a classic theme, edit the template files, usually single.php, page.php and archive.php, or a shared header template, and call rilea_breadcrumbs() where the trail should appear. It's safest to do this in a child theme, so a theme update doesn't remove your change. The function accepts optional text to print before and after the trail, which is useful for wrapping it in your theme's own container.
Settings
All the options are in Rilea SEO, then Settings, then Breadcrumbs:
- Enable breadcrumbs. On by default. Turning it off removes the visible trail and the breadcrumb schema.
- Separator. The character between items. The default is », and common alternatives are ›, / and a vertical bar.
- Home label. The text for the first link, usually Home or your site name.
- Prefix. Optional text before the trail, such as "You are here:".
- Show blog page in trail. If your blog lives on a separate page, include it between Home and the category.
- Hide current post title. End the trail at the parent, which suits themes that show the title directly below.
Custom breadcrumb titles
Long titles make long trails. A post called "The complete beginner's guide to choosing trail running shoes in 2026" doesn't fit neatly in a breadcrumb. In the Rilea SEO panel's advanced settings, you can give any post or page a breadcrumb title, such as "Choosing trail shoes", without changing the real title or the SEO title. Categories, tags and other terms have the same field on their edit screens.
If you're moving from another SEO plugin, the importer brings across the breadcrumb titles you set there.
The schema behind the trail
Alongside the visible links, Rilea SEO adds a BreadcrumbList to the page's structured data. It isn't a separate block of schema: it's part of the single JSON-LD graph Rilea SEO prints, and the WebPage in that graph points to it. Each item in the list has its position, name and URL, matching the visible trail.
Because it's generated from the same data, the schema and the visible trail always agree. You'll find it in the page source by searching for BreadcrumbList, and Google's Rich Results Test reports it as valid breadcrumb data.
Styling breadcrumbs
The trail is printed as a nav element with the class rilea-breadcrumb, containing links, separators with the class rilea-bc-sep and the current page with the class rilea-bc-current. It inherits your theme's font and colours by default. To adjust it, add CSS in Appearance, then Customize, then Additional CSS, or in your theme's stylesheet. Common tweaks are a smaller font size, a muted colour for the separators and some space below the trail.
Keep breadcrumbs visually quiet. They're a navigation aid, not a headline, and they work best as a single line of small text above the title.
Developers
The trail is built as a list of items, each with a label and a URL, and passed through the rilea_breadcrumb_items filter before it's displayed or added to the schema. You can use it to insert an extra level, rename a step or remove one for a particular post type. Because the schema uses the same list, any change you make appears in both places.
Common problems
The trail shows the wrong category
The post is in several categories and no primary category is set. Open the post and choose a primary category in the Rilea SEO panel.
Two trails appear
Your theme has its own breadcrumbs. Turn them off in the theme's settings, or remove the Rilea SEO block or function, so only one trail shows.
The blog page appears where you don't want it
Turn off "Show blog page in trail" in the breadcrumb settings.
The schema is missing
Check that breadcrumbs are enabled and that schema output is on. The schema doesn't depend on the block being placed, so if it's missing, another plugin may be removing Rilea SEO's JSON-LD, or a cached copy of the page is being served.
Good practice
- Keep labels short and recognisable. Visitors should understand each step at a glance.
- Use a sensible category structure. Breadcrumbs can only reflect the structure you have, so a few clear categories work better than many overlapping ones.
- Set primary categories on posts that sit in more than one category.
- Show the trail on posts, pages and products, and consider leaving it off the homepage, where it has nothing to show.
- Make sure the trail is visible on mobile. It's often most useful there, where moving around a site takes more taps.
Planning a structure that breadcrumbs can show
Breadcrumbs are a mirror of your site's structure, so the best time to think about them is when you're deciding on categories and parent pages. A few principles help:
- Keep it shallow. Most content should be no more than two or three levels below the homepage. A trail like Home » Blog » Running » Trail shoes is easy to follow; one with six steps isn't.
- Give each post one natural home. Posts can belong to several categories, but the primary category should be the one a visitor would expect. That's the one that appears in the trail and in search results.
- Use parent pages for services and products you sell. A Services page with each service as a child page gives you trails like Home » Services » Web design, which tell visitors and search engines exactly what the page is.
- Make category pages worth visiting. Every step in a breadcrumb is a link someone might click. A category page with a short introduction and a well-organised list of posts is a much better destination than a bare archive.
- Avoid renaming categories often. Category names appear in every trail. If you do rename one and its URL changes, add a redirect from the old address to the new one in Rilea SEO's redirect manager.
If you get the structure right, breadcrumbs take care of themselves: every new post or product slots into its place, and the trail and schema follow automatically.
Put your SEO budget somewhere else.
Install Rilea SEO, import your settings and keep every feature, for free.