WPML
Status
Open
Reported for
WPML SEO 2.1.0
Related plugin/theme
Rank Math SEO
Topic tags
Compatibility

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.

Or

  • Change the slug of the product so it does not match the REST endpoint.

All known issues →