Can’t strip category base for taxonomies

#975407
  • Resolved Kristians Krauklis
    Rank Math free

    I have created a custom taxonomy with ACF and attached to Post type. Then in that post type i add categories. I want that these categories url structure is not like this website.com/category-name instead of website.com/category/category-name

    Should Rankmath’s “Strip category base” function help with removing this category base or did i misunderstood something?

    Thanks

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

    We apologize for the issue you are facing. The "Strip Category Base" option in Rank Math is specifically designed to remove the category base from standard WordPress categories, resulting in cleaner URLs like website.com/category-name instead of website.com/category/category-name. However, this feature may not apply to custom taxonomies created with ACF (Advanced Custom Fields).

    For custom taxonomies, you might need to adjust the rewrite rules when registering the taxonomy. Unfortunately, the "Strip Category Base" function does not automatically handle custom taxonomies.

    If you need further assistance with this specific setup or if you are encountering any technical issues, please reply to this ticket with your site URL, and a human agent from the Rank Math Support team will be happy to assist you further.

    Thank you for raising this concern!

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

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    hi, did you manage to check my question? thanks

    Hello,

    We deeply apologize for the unexpected delay in response.

    Please note that the “Strip Category Base” option in Rank Math only works with the WordPress default categories.

    In this case, if you want, you can use a plugin like Permalink Manager to remove the category slug from your custom category URLs.

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

    Thanks for explaining and thanks for suggestion – the plugin helped to solve it!

    Hello,

    We are glad we could address your concern.

    Please feel free to create a new forum topic if you do have another question in the future.

    It will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Can’t strip category base for taxonomies’ is closed to new replies.