Hello,
We apologize for the issue you are facing with the different URLs for the same WooCommerce product category page. It seems like there might be a conflict or misconfiguration in your category settings.
To resolve this, you can follow these steps:
-
Check Category Settings: Go to Products > Categories in your WordPress dashboard. Ensure that the categories are set up correctly and that there are no duplicate slugs.
-
Remove Parent Slugs: If you want to simplify your URLs, you can enable the Remove parent slugs option in Rank Math. This will help in removing unnecessary parent category slugs from your URLs. You can find this option by navigating to Rank Math SEO → General Settings → WooCommerce.

-
Strip Category Base: Additionally, you can enable the Strip category base option to remove /product-category/ from your URLs. This can be done under Rank Math SEO → General Settings → Links.

-
Redirects: If the incorrect URL is still accessible, consider setting up a redirect from the incorrect URL to the correct one using a redirection plugin or through Rank Math’s redirection feature.
-
Clear Cache: After making changes, ensure to clear any caching plugins you may have to see the updates reflected on your site.
If you continue to experience issues after trying these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern!
Sources:
How to Optimize a Category Page » Rank Math
WordPress Permalink Structure & Changing Individual URLs » Rank Math
Hello,
Thank you for contacting support.
That is pretty common that some pages are accessible even though they are not canonical and it’s the default behavior of WooCommerce as you can see here: https://github.com/woocommerce/woocommerce/issues/26992
This is not something that we can change because it’s built into WooCommerce but the canonical which is handled by our plugin points to the correct page.
What you can do is create redirections from the non-canonical versions to the canonical versions.
Don’t hesitate to get in touch if you have any other questions.
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.