Strip Category Base also removes /blog from URL

#811735
  • Resolved Greg Burkett
    Rank Math free

    We have a blog structure like the following:

    website.com/blog/category/latest-updates

    We want to remove “category” from there, so we tried the Strip Category Base option in Settings. This sort of works, but the resulting URL for category archives is now:

    website.com/latest-updates

    We’ve lost both “category” AND “blog” from the URL structure, which isn’t what we want (nor does it seem to be what the Strip Category Base option is supposed to do, unless I’m misunderstanding).

    We’d like the url to be website.com/blog/latest-updates

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Thank you for reaching out with your concern about the Strip Category Base option in Rank Math. I understand that you want to remove only the "category" part from the URL structure while keeping the "blog" part intact.

    Based on your description, it seems that the current behavior of the Strip Category Base option is not aligning with your expectations. The Strip Category Base feature is designed to remove the category base from the URL, but it seems to be affecting the "blog" part as well in your case.

    To achieve the desired URL structure "website.com/blog/latest-updates," you may need to consider a custom solution or workaround as the Strip Category Base option in Rank Math may not provide this specific functionality out of the box.

    If you need further assistance or have any other questions, please feel free to reply here, and our support team will be glad to assist you further.

    Thank you for your understanding and patience.

    Closing spiel.

    Sources:
    How to Remove the Category Base From WordPress Ā» Rank Math
    WordPress Permalink Structure & Changing Individual URLs Ā» Rank Math

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Rank Math will remove all the strings from the category URL once the ā€œStrip Category Baseā€ option is enabled.

    You can instead disable the option and in the WordPress permalink settings, you can add blog as your Category base:

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
    Ā 
    Thank you.

    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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Strip Category Base also removes /blog from URL’ is closed to new replies.