removing category from url in category/subcategory hierarchy

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

    Thank you for contacting Rank Math today.

    Please head over to your Dashboard > Rank Math > General Settings > Links and enable the “Strip Category option” as shown below:

    I hope this info helps. Thank you.


    Thank for the reply, but I had already set the Strip Category base option to ON. It is not working.

    Hi there,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.

    Hi there,

    Thanks for the access.

    This option is working normally on your site.
    Please note that the strip category option will only be activated when viewing the posts that are assigned to the category and not when viewing the child category pages.

    I would be happy to pass this on to our developers as a feature request so that this can be considered for addition in our development roadmap.

    I hope this info helps. Thank you.

    Thanks. Then I’m not even sure I understand the purpose of the strip category setting? Why would you ever need to use this setting, because you can just set your permalink structure to post name without the category name. That is a standard wordpress feature. What does the strip category button do that the standard wordpress permalink setting doesn’t do?

    Hi Barry,

    Thanks for the question.

    The Rank Math strip category option works more efficiently since it does not modify the links that are saved in the database. This will avoid broken links and loss in traffic since modifying the permalink structure breaks URLs that were using the former structure.

    I hope this info helps. Thank you.

    so what is google indexing? with or without the category hierarchy?

    Hi Barry,

    Google will index whatever is viewable on your website.

    Please note that the strip category base option converts links like this:

    Please let me in that is confusing or not what you expect it to do.

    that’s what I expected it to do. But it doesn’t work:
    gives page not found error

    Hi Barry,

    Thanks for the response.

    This feature is only available on category archive URLs, for example this is how one of your category archives looks like when this feature is disabled:
    and this is how this looks when the strip category option is enabled:

    I hope this info helps. Thank you.


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

The ticket ‘removing category from url in category/subcategory hierarchy’ is closed to new replies.