Skip to content Skip to sidebar

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

Problem:
After updating a WooCommerce shop with 4000 products in three languages, issues with URL changes and redirects occurred. Specifically, when switching from a Dutch product page to English or German, the URL incorrectly shows the base category name instead of the translated one, leading to ERR_TOO_MANY_REDIRECTS.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Navigate to WPML -> Settings -> Taxonomy translation.
2. Open the product category and check if the slug is translated.
3. Save the changes.
4. Re-save the permalinks.
5. Flush any cache memory that might exist.
6. Double-check if the issue disappeared.

This solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at our support forum.

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 0 voices.

Last updated by Carlos Rojas 1 year, 6 months ago.

Assisted by: Carlos Rojas.

Author Posts
December 20, 2024 at 10:24 am #16533221

deborahv

Background of the issue:
I updated my WooCommerce shop, which has 4000 products in 3 languages (Dutch, English, German). The product category is translated, but the products themselves are not. The product title is a product number + universal name. After the update, I encountered issues with URL changes and redirects. The issue can be seen on the live website: hidden link.

Symptoms:
When switching from a Dutch product page to English or German, the URL changes incorrectly, showing the base category name instead of the translated one, leading to ERR_TOO_MANY_REDIRECTS. Hovering over the language switcher shows the wrong URL. However, from the category page, the URL appears correct but changes upon clicking, causing the same error.

Questions:
How can I fix the URL translation issue when switching languages?
Why does the URL change to the base language category name?
What causes the ERR_TOO_MANY_REDIRECTS error?
How can I resolve this issue on a live website?

December 20, 2024 at 1:17 pm #16534360

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (EspaƱol )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

Please follow these steps:
- Go to WPML -> Settings -> Taxonomy translation -> Open the product category and check if the slug is translated -> Save the changes
- Re-save the permalinks
- Flush any cache memory that might exist
- Double-check if the issue disappeared

Could you tell me the results of the steps described above?

Regards,
Carlos