Hello,
Thank you for reaching out to us with your query. To change the WooCommerce base permalink from "/product/" to "/p/", you can follow these steps:
- Go to your WordPress dashboard and navigate to Rank Math SEO → General settings.
- Scroll down to the WooCommerce tab.
- Toggle the Remove Base option to On and click on "Save Changes".
Here is a screenshot to guide you through the process:

After enabling this option, your product URLs will be changed from /product/my-product
to /my-product
.
To set up a redirect for old external links to your site to the new URL, you can utilize the URL redirection feature in Rank Math. This feature ensures that any attempts to access the old URL are automatically redirected to the new address.
If you need further assistance or have any more questions, feel free to ask. We’re here to help!
Thank you.
Sources:
WordPress Permalink Structure & Changing Individual URLs » Rank Math
How to Disable Custom Product Redirection in Rank Math » Rank Math
Hello,
Thank you so much for getting in touch.
Please head over to your WordPress Dashboard > Settings > Permalinks and under the “Product permalinks”, you should be able to set the desired product single URL base.
As for redirecting it, WordPress should automatically create the redirection rule for it or you may apply this redirection rule in our plugin:

Here’s a guide you can follow: https://rankmath.com/kb/setting-up-redirections/
Hope that helps.
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.