Hello,
I apologize for the inconvenience you’re experiencing. With Rank Math, you can indeed edit the URL structure to remove the category base and only display the subcategory in the URL. This can be done by enabling the “Remove Category Base” option in the Rank Math SEO settings.
To do this, please follow these steps:
- Go to your WordPress dashboard and navigate to Rank Math > General Settings > Links.
- Enable the “Advanced Mode” if it’s not already enabled.
- Once in Advanced Mode, you will see the option to “Strip Category Base.” Enable this option to remove the parent category slugs from the URL.
Here’s a screenshot to guide you:

After enabling this option, your URL structure will be updated to display only the subcategory in the URL, as you’ve described.
If you need further assistance or have any other questions, feel free to ask.
Thank you for reaching out to us!
Sources:
WordPress Permalink Structure & Changing Individual URLs » Rank Math
How to Remove the Category Base From WordPress » Rank Math
How to Optimize a Category Page » Rank Math
How to Disable Custom Product Redirection in Rank Math » Rank Math
Hi
I’m already turn on the “Strip Category Base”, but it still nothing to change, on general settings > woocoomerce already turn on , Remove base, Remove category base and Remove parent slugs too.
Thanks
Hello,
Thanks for contacting us, and sorry for any inconvenience this might have caused you.
Rank Math can remove the parent slug of your product category in WooCommerce. Please follow this guide to remove the category slug from your URL: https://rankmath.com/kb/general-settings/#remove-parent-slugs
Let us know how that goes.
Looking forward to helping you.
Thank you.
Hello,
We need to investigate this further on your website. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please take a complete backup of your website before sharing the information with us.

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:
https://wordpress.org/plugins/temporary-login-without-password/
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):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for your patience.
Apologies for the confusion, but the Remove Parent Slug option removes the parent category from the URL of the subcategories. It will not remove the parent category from product URLs. The option is only for category URLs, not for the product URLs.
However, you can try to use a dedicated permalink manager plugin like this that will specifically address that:
https://wordpress.org/plugins/permalink-manager/
Hope that helps.
Hi
Understand, thank you for your suggest another useful plugin
Thank you
Hello,
We’re following up with you to see if you still need our assistance with anything else or if we can go ahead to mark this ticket as closed.
We appreciate your patience and cooperation throughout this process.
Thank you for choosing Rank Math.
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.