This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing a 404 error when trying to view a product translated using WPML in Finnish. The issue arises even after translating the permalinks in WooCommerce Multilingual & Multicurrency. Solution: The 404 error is not directly related to WPML. If you disable WPML, you will notice that the same issue persists because you have used the same slug for your Product category base and Custom base in WordPress settings. This duplication causes conflicts within WordPress as it requires unique slugs for proper functionality. We recommend changing one of the slugs to ensure they are unique. You can adjust your permalink settings by visiting your WordPress dashboard and navigating to the permalink options at https://sh-teksor.fi/wp-admin/options-permalink.php.
If this solution does not resolve your issue or seems irrelevant due to updates or different circumstances, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the problem persists. You can do so 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.
Background of the issue:
I am trying to translate a product originally in Finnish using WPML. I have translated the product, and I have also translated the permalinks in WooCommerce Multilingual & Multicurrency.
Symptoms:
The translated product cannot be viewed and results in a 404-error.
Questions:
Why does the translated product result in a 404-error?
How can I fix the 404-error for the translated product?
Please let me know if it is safe to disable plugins and switch themes on the current website, if not and it is production, please provide the staging site if possible, so we can check it out further. I have enabled private reply.
Hi,
Yes, you can do it right now.
And here is also a video explaining my the problem: hidden link
Coming Webshop-page hidden link, but product groups cannot be viewed (in English only one product, so there is only one category in English):
English: hidden link
Finnish: hidden link
Product in Finnish, there is a translation but you cannot view it due to this problem: hidden link
Hi, I'm back again. One additional question regarding the product URL:
The default language is still Finnish 🙂 and here is an example of a product URL: hidden link
in English: hidden link
Is there still a conflict with the Product category base and Custom base: In English the product url has "standardi-tuotteet" still in Finnish though it is translated. (Images attached)
On the Finnish product page hidden link, all breadcrumbs links are working. On the English product page hidden link only socket is working, but the "standard products" is not working due to this problem.
Hope you still have time to help me!
Kind regards,
Pamela
New threads created by Dražen and linked to this one are listed below:
We limit 1 issue per ticket to keep things clear. This will help other users with similar problems to find solutions when searching the forum.
I have opened a new ticket for you and will check and debug issue further there:
- https://wpml.org/forums/topic/split-in-english-the-product-url-has-finish/