Support » Plugins and Hacks » Breadcrumb NavXT » How to remove "/category/" from breadcrumb url?

How to remove "/category/" from breadcrumb url?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik


    Using pages for categories is not how WordPress was designed to operate. Categories are supposed to link to the category archive page, which WordPress generates for you. The link Breadcrumb NavXT uses is generated by WordPress, if you’ve moved the category archive page and the links are wrong, that means you haven’t set up everything correctly for moving the archive.

    If you really want to use pages you need to select the “parent” option under the “post hierarchy” option in the settings page for Breadcrumb NavXT. Then you’ll need to go to every post and assign it a parent page or post (a plugin such as Post Parents can help).

    Just to be clear: I didn’t move the archive, and the links that the plugin creates has the actual word “category” in the link url. I wasn’t saying that “/category/” represented where the name of the category was in the url.

    I finally determined that the “problem” happened because of the custom page templates I am using for the blog categories.

    The way I fixed the problem is with templates. The site only has a few blog categories, each with a unique template design assigned to a page. This is why the links did not have the /category/ in them because they are actually pages! So, I used the category template in my child theme and recreated the unique designs for each category. Now both urls work 😀

    Thanks for the quick reply. It is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove "/category/" from breadcrumb url?’ is closed to new replies.