Remove parent category from breadcrumb url
-
Hello,
Currently, Yoast breadcrumbs links the following way:
Level 1: https://dev.socialpronow.com/blog/category/dating/
Level 2: https://dev.socialpronow.com/blog/category/general-social-skills/
Level 3: https://dev.socialpronow.com/blog/category/general-social-skills/making-conversation/However, we’d like it to link the following way:
Level 1: https://dev.socialpronow.com/blog/category/dating/
Level 2: https://dev.socialpronow.com/blog/category/general-social-skills/
Level 3: https://dev.socialpronow.com/blog/category/making-conversation/In the first example, Yoast adds the Level 2 category (general social skills) to the Level 3 category url.
We’d like it to never add parent categories to child’s URL:sIs there any code we can add for this?
We don’t want to filter out certain categories as we have dozens of categories on our site, but just make sure that it always uses the taxonomy /blog/category/lowest-category and never /blog/category/second-lowest-category/lowest-category
The page I need help with: [log in to see the link]
- The topic ‘Remove parent category from breadcrumb url’ is closed to new replies.