-
Hello.
I had a similar issue with this setting before. Raised the issue and it got fixed. Now another issue with the same setting. Please can someone look at this closely and try to future proof this. When I update RankMath it is pretty hit and miss for me. Sometimes no issues, sometimes my site doesn’t work :-(.
Further Details…
When you turn on “Remove Category Base” under WP Admin->Rank Math->General Settings->WooCommerce
My single product pages stop working and I get the following error displayed “The page isn’t redirecting properly”.
Testing with [http://www.redirect-checker.org/index.php] I can see this setting is causing a redirect loop. For example:
https://www.mysite.com/tours/weekend-in-paris -> https://www.mysite.com/weekend-in-paris/ -> https://www.mysite.com/tours/weekend-in-paris -> https://www.mysite.com/weekend-in-paris/
Notice the absence of the “tours” (shop page) and additional slash on the end.
Having a quick look on the support forum I can see a few people bringing up similiar issues all related to the same setting.
https://support.rankmath.com/ticket/product-are-no-longer-showing/
https://support.rankmath.com/ticket/product-text-incorrectly-stripped-from-url/
https://support.rankmath.com/ticket/slashes-stripped-from-url/
Thank you.
PS This is quite severe (breaking woocommerce sites) and so I think it warrents quick escalation!
The ticket ‘Woocommerce Remove Category Base’ is closed to new replies.