Chuyển đến nội dung Chuyển đến thanh bên

Open

Reported for: WPML SEO 2.1.0

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.

Để lại trả lời

Vui lòng giữ đúng chủ đề và tôn trọng người khác. Nếu bạn cần trợ giúp với các vấn đề không liên quan đến bài đăng này, hãy sử dụng Diễn đàn Hỗ trợ của chúng tôi để bắt đầu trò chuyện hoặc gửi vé hỗ trợ.

Bạn có thể sử dụng các thẻ này:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>