[Resolved] Woocommerce product link not translated
This thread is resolved. Here is a description of the problem and solution.
Problem: You want to translate the product category in the URL from English to French and German using WPML, but after making the change, the page becomes unavailable. Solution: We found that the issue was due to the Product base and Product category base translations being identical, which caused conflicts when displaying the product correctly. To resolve this, change the Product category base to a different value than the Product base. You can use a translation or simply modify the original value slightly to avoid conflicts.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Also, check the related known issues and ensure you have the latest versions of themes and plugins installed. For further assistance, please visit 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.
Background of the issue:
I want to translate the product category in the URL from English ('mobile-light-tower') to French ('tours-declairage') and German ('mobiler-lichtmasten') using WPML. The site I need help with is hidden link. The product in question is hidden link.
Symptoms:
When I make the change in WPML, the page can no longer be found.
Questions:
Why does the page become unavailable after changing the product category URL in WPML?
How can I successfully translate product category URLs using WPML without causing errors?
To help me better understand the issue, please upload any relevant screenshots or share links that illustrate the problem clearly. This will allow me to provide you with the most accurate and effective solution.
In the meantime, have you tried resaving your permalinks by going to Settings → Permalinks and clicking Save Changes without modifying anything? This can often resolve URL-related issues.
Hi there Andrey,
Thanks for picking up my question. Reading back my ticket, i realize i forgot to add this screen recording. Does this clarify the issue?
Please try the following steps:
1. Go to WPML → String Translation and search for "mobile-light-towers".
2. Delete any entries related to "mobile-light-towers".
3. Navigate to Settings → Permalinks and re-save the permalinks using the custom base "mobile-light-towers".
4. Then, try translating it again.
Let us know if the issue persists after these steps.
Product base is what you have set in Custom base in Settings → Permalinks, so it is okay.
Yes, sure. I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
The problem was caused by the Product base and Product category base translations being identical, which led to conflicts when displaying the product correctly. I resolved this by changing the Product category base to a different value (just copied from the original but you can translate it).