This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing issues with links in the product descriptions of translated product pages. These links were supposed to refer to certain collections but were redirecting incorrectly on the Italian and Spanish versions of the site. The client had already attempted to 'Scan now and adjust links' in the WPML settings and cleared the cache, but the problem persisted.
Solution:
We recommended that the client recheck the URLs when translating the product and use absolute URLs for each language version:
- NL:
https://gelwapen.nl/collections/gel-blasters/
- IT:
https://gelwapen.nl/it/collections/gel-blasters/
We also noticed that the client was using the WordPress editor to manually translate products and in the Spanish version, the absolute URL was pointing to the default language. We suggested changing it to the correct language-specific URL:
- ES:
https://gelwapen.nl/es/collections/gel-blasters/
- Or use the relative URL as in other languages:
/collections/gel-blasters/
After changing one of the URLs to the relative version, it worked properly in the frontend.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.
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 4 replies, has 2 voices.
Last updated by 9 months, 3 weeks ago.
Assisted by: Long Nguyen.