Bỏ qua điều hướng

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 phản hồi

Vui lòng bám sát 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 yêu cầu hỗ trợ.

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