# Adding breadcrumbs to pages for SEO

**URL:** <https://community.weweb.io/t/adding-breadcrumbs-to-pages-for-seo/2393>\
**Category:** How do I?\
**Created:** [April 21, 2023, 10:15am UTC](https://community.weweb.io/t/adding-breadcrumbs-to-pages-for-seo/2393 "2023-04-21T10:15:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrek](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shrek](https://community.weweb.io/u/shrek)\
**Post date:** [April 21, 2023, 10:15am UTC](https://community.weweb.io/t/adding-breadcrumbs-to-pages-for-seo/2393/1 "2023-04-21T10:15:38Z")

</div>

How should I go about adding breadcrumbs to pages? For example:

Home → Category Page → Individual Page

---

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [April 24, 2023, 9:43am UTC](https://community.weweb.io/t/adding-breadcrumbs-to-pages-for-seo/2393/2 "2023-04-24T09:43:35Z")

</div>

You should probably create a variable called currentCategory and then update it with the category name whenever you click on a category. They’re used in one of our templates(Academy) so you can take a look as well

---

<div class="post-metadata">

**Author:** ![shrek](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shrek](https://community.weweb.io/u/shrek)\
**Post date:** [April 24, 2023, 10:47am UTC](https://community.weweb.io/t/adding-breadcrumbs-to-pages-for-seo/2393/3 "2023-04-24T10:47:57Z")

</div>

Thanks @luka!
