• Dear WP experts,

    I’m new to WP and currently learning how to work with it. I have set up a small car related blog (because that’s my personal interest) and having some questions here and there.

    There is the following question:

    I have created a category page called “Car Reviews”. This is not per se a category page, but rather a normal WP page, that links to an actual category page.

    Now, when I click on the page, it displays the URL of that page as:

    https://dan-baisal.com/cars-and-automotive/

    (I have changed Cars and Automotive to simply Car Reviews, don’t know why it didn’t update, maybe it takes some time?)

    This page has a subcategory called “Mazda”. I’ve set this up as an actual category page in the WP backend. However, when I click on it, gives me the following URL address:

    https://dan-baisal.com/category/car-reviews/mazda-cars/

    Where does this category folder come from and why is it getting displayed? I obviously don’t need or want this folder, but I don’t know how to get rid of it.

    Thanks for your support.

    Best regards

    Dan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Welcome to WordPress!

    Regarding the URL of https://dan-baisal.com/cars-and-automotive/, it sounds like you updated the page title but not the slug, which is what is used for the URL.

    Is there a reason you are creating pages for categories rather than just using the built-in category archives?

    That’s what https://dan-baisal.com/category/car-reviews/mazda-cars/ is.

    Category is the default base for the Category taxonomy.

    In WP Admin > Settings > Permalinks, you can change it (at the bottom of that page) but you can’t remove it without a plugin or custom code.

    • This reply was modified 11 months, 1 week ago by Jamie.
    • This reply was modified 11 months, 1 week ago by Jamie.
    Thread Starter dbaisal

    (@dbaisal)

    @codente

    Hi Jamie,

    thanks a lot for your reply.

    “Regarding the URL of?https://dan-baisal.com/cars-and-automotive/, it sounds like you updated the page title but not the slug, which is what is used for the URL.”

    That’s true, I didn’t think of that, but now I’ve updated it and so far it looks like I want. Thank you!

    “Is there a reason you are creating pages for categories rather than just using the built-in category archives?”

    Actually no, I’m just working with a pre-made website template, that was provided by an author from an online course. I think it was actually intended to be just a single webpage, but I decided to turn in into a category page, since it was there. I think I’ll just stick to regular category pages in WP.

    But I thought that I created the Mazda subcategory as an actual subcategory. It’s not? The main category of car reviews is the one that I link to from a WP page.

    “Category is the default base for the Category taxonomy.”

    Could you please elaborate on that? It sounds a bit too complicated for me.

    “In WP Admin > Settings > Permalinks, you can change it (at the bottom of that page) but you can’t remove it without a plugin or custom code.”

    Would it help to simply delete it and re-create it as a subcategory? Or will I run into this issue on all newly created (sub)categories?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP creates a “category” page when going to a subcategory’ is closed to new replies.