تخطي إلى المحتوى تخطي إلى الشريط الجانبي

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.

اترك ردًا

الرجاء البقاء في الموضوع واحترام الآخرين. إذا كنت بحاجة إلى مساعدة في مشكلات غير متعلقة بهذا المنشور، استخدم منتدى الدعم الخاص بنا لبدء محادثة أو تقديم تذكرة.

يمكنك استخدام هذه الوسوم:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>