Skip Navigation

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

Problem:
If you're experiencing a 404 error on translated product category pages using WPML, it might be due to issues with your permalink settings or slug translations.
Solution:
1) Verify that there are translated products within the category in question.
2) Use distinct slugs for different languages; avoid using the same slug, such as "magazine", in both languages.
3) If the problem persists, consider setting up a staging site to isolate the issue. On this site, use the default WordPress theme and enable only the WPML plugins and WooCommerce, while disabling all other plugins.
4) Ensure that all your themes and plugins, especially WPML and WooCommerce, are updated to their latest versions.

If these steps do not resolve the issue, or if the solution seems outdated or irrelevant to your specific 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. Additionally, you can open a new support ticket for further assistance at WPML 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 maksymV 2 days, 3 hours ago.

Assisted by: Dražen.

Author Posts
January 23, 2025 at 12:58 pm #16627836

maksymV

Background of the issue:
I am trying to use WPML for translating my website. The translation works everywhere except on product category pages. Here is the original link: hidden link. Here is the link with the translation: hidden link. The translation works on the products themselves.

Symptoms:
On product category pages, I encounter a 404 error when trying to access the translated version.

Questions:
Why does the 404 error occur only on product category pages?
How can I fix the 404 error on translated product category pages?

January 24, 2025 at 8:01 am #16630533

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for contacting us.

1) Please make sure you have existing translated products in this category?

2) Please try to use different slugs in other languages, I see you "magazine" in both languages.

3) If the issue still happens, please create a new staging site and check if the issue still happens when using the WP default theme, and only WPML plugins and Wocommerce enabled, all others disabled.

Make sure to update to the latest versions, I see you are using old versions.

Let me know how it goes.

Regards,
Drazen

January 28, 2025 at 10:45 am #16641047

maksymV

Dražen, Thank you very much, everything worked!
WordPress Settings → Permalinks → Product category base. I replaced the name Product category base as it coincided with the name of the page of the catalog.