Overview of the Issue
When using the Rank Math SEO plugin, if a REST endpoint shares the same slug as a product (for example, http://example.com/wp-json/testendpoint/v1/testmethod/ and http://example.com/testmethod/), the REST request is incorrectly redirected to the product.
Workaround
While our team continues to investigate the issue for a permanent solution, there are two potential workarounds:
- Disable the Remove Base option in Rank MathGeneral SettingsWooCommerce.
- Change the slug of the product so it does not match the REST endpoint.
Need Help with This Issue?
Ask a support question and we’ll look into it with you.
Ask a support question