Home›Support›English Support›[Resolved] When WPML String translation is active all products and categories throw 404 error
[Resolved] When WPML String translation is active all products and categories throw 404 error
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing 404 errors on product and category pages when the WPML String Translation plugin is active on their staging site. Disabling the plugin resolves the issue, suggesting a potential conflict. Solution: We recommend the following steps to potentially resolve the issue: 1. Navigate to WPML → Taxonomy Translation → Product Categories. 2. Ensure that all fields under "Translations of taxonomy Category labels and slug" are properly filled, including the Plural translation field. 3. Fill in any missing translations and check if the issue persists.
If this solution does not resolve the problem or seems irrelevant due to being 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 issue continues, please open a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I have created a staging site at melniktest.keyweb.fun, which is a full copy of melnik.keyweb.fun. I am experiencing an issue where enabling the WPML String Translation plugin causes all products and categories to throw a 404 error. This issue occurs across different websites with various themes and plugin combinations. Disabling the plugin resolves the issue. I suspect a conflict with the WPML String Translation plugin, although the debug does not show any errors caused by WPML. On melnik.keyweb.fun, the WPML String Translation is disabled, and everything works fine. However, on melniktest.keyweb.fun, with the plugin enabled, the conflict is evident. The issue can be seen at hidden link.
Symptoms:
When the WPML String Translation plugin is active, accessing any product or product category results in a 404 error. Disabling the plugin resolves the issue. This problem persists across different websites and themes.
Questions:
What could be causing the 404 error when the WPML String Translation plugin is active?
How can I resolve the conflict between the WPML String Translation plugin and my website setup?
To address this, please follow these steps:
1. Navigate to WPML → Settings → Taxonomies Translation.
2. Locate Product Categories and ensure the option “Set different slugs in different languages for Product categories” is selected.
3. Click Save to confirm the settings.
Let me know if this resolves the issue or if you need further assistance.
I reviewed the page, for example: hidden link, and I currently do not see the issue you described. Is the WPML String Translation plugin deactivated?
Could you please try the following steps?
1. Navigate to WPML → Taxonomy Translation → Product Categories.
2. Check if all fields are properly filled in for "Translations of taxonomy Category labels and slug", including the Plural translation field.
3. If any fields are empty, please complete the missing translations.
The Problem was in the permalink structure, i changed them and it resolved the issue. What's more i have another issue with the translations of the strings that i Will show you in another message
What's more i am experiencing another issue - in the admin Bar i have the translations properly translated, but in incognito when im not in a session they do not appear