Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing an issue where clicking on translated products redirects you to the homepage instead of opening the products, and this only occurs with products in the translated language, not the original language.
Solution:
We recommend trying one of the following solutions:
1. Change the translated "Product base" slug from "online-shop" to "online-store" in WooCommerce. You can do this by navigating to WooCommerce > WooCommerce Multilingual & Multicurrency > Store URLs.
2. Disable the "Remove base" option in Rank Math SEO. Go to Rank Math SEO > General Settings > Woocommerce.
We have already changed the product base slug to "online-store" for you, and it should now be working correctly.
Please be aware that there are known issues with the Rank Math SEO plugin, which our developers are actively working to resolve. You can find more information on these issues here:

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Noman 1 year, 1 month ago.

Assisted by: Noman.

Author Posts
November 29, 2023 at 9:36 am

shadow-windows-apsK

When I click the products that are translated, it redirects me to home. It only opens the products in original language.

November 29, 2023 at 10:53 am
November 29, 2023 at 2:54 pm #14952825

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’ve debugged this issue and found out that the issue is gone either we change the translated “Product base” slug from “online-shop” to “online-store” from WooCommerce >> WooCommerce Multilingual & Multicurrency > Store URLs: hidden link

or disable the “Remove base” option from Rank Math SEO >> General Settings > Woocommerce as you can see in the attached screenshot: hidden link

At the moment I changed the product base slug to “online-store” and it seems to be working correctly.

We have some known issues with Rank Math SEO plugins and our developers are already working on resolving them as you can see here:
https://wpml.org/errata/rank-math-seo-turning-on-strip-category-base-causes-issues-with-secondary-languages/
https://wpml.org/errata/rank-math-seo-rest-request-redirected-to-product-when-rest-endpoint-matches-product-slug/

Please let me know if this resolves your issue or if you need further assistance with this issue.

Thank you

product base.png
remove base.png