CPT Base Not Showing Up in Breadcrumbs

#135733
  • Resolved City Media Works
    Rank Math free

    Hello,

    We are facing an issue with Custom Post Types and Breadcrumbs. We have setup few custom post types on our website and wanted to use RankMath Breadcrumbs.

    The problem is RankMath breadcrumbs are not showing the CPT name in breadcrumb.

    For example:

    Home > End Page

    In actual, they should be like this:

    Home > Custom Post Type > End Page

Viewing 5 replies - 1 through 5 (of 5 total)
  • Danial
    Rank Math business

    Hello,

    You can achieve this by heading over to Rank Math > Titles & Meta > Select the post type from the left tab > Primary Taxonomy and select your custom taxonomy as shown in this screenshot:
    https://i.rankmath.com/Eus2Dj

    I hope this helps resolve your issue.

    Hello Danial,

    I tried using the Primary Taxonomy before posting here. It allows me to setup the taxonomy, meanwhile, in our CPT, we don’t have any taxanomies and adding taxanomies make the overall strategy as confusing.

    We are using CPT to make our content clutter free and easily accessible, this specific / particular CPT doesn’t require a taxanomy.

    In meanwhile, I used the BreadCrumbs Navxt plugin and it allowed me to setup the breadcrumb on that specific CPT with base name & url in breadcrumbs.

    I am using RankMath on several of our websites, and doesn’t want to add any additional plugins.

    Is there any method or way to get that using RankMath only?

    Hello,

    Since you sound like you wish to have your breadcrumbs appearing customized in that way, you would need to customize breadcrumbs with this filter: https://rankmath.com/kb/filters-hooks-api-developer/#change-breadcrumb-html

    If will require a developer assistance to make this work as expected.

    Hope this helps

    iam also facing the same please post here full filter example to do that for breadcrumb snippet as well as breadcrumb

    Hello @Riaz Ahmad Shigri,

    I am afraid we do not offer code customization, you will need assistance from a developer to get the customization you need.

    That said, here is a thread on breadcrumb customization with the filter, you may reference: https://support.rankmath.com/ticket/how-to-remove-the-breadcrumb-separator-tag/?view=all

    Hope this helps.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘CPT Base Not Showing Up in Breadcrumbs’ is closed to new replies.