This thread is resolved. Here is a description of the problem and solution.
Problem: On multilingual tour pages, internal links that should point to other language versions of the same page are being automatically rewritten by WPML to point to the current page's language version. Solution: If you're experiencing this issue, we recommend using the following hook to prevent WPML from automatically adjusting internal links on your site:
Additionally, consider using the WordPress Editor as a translation method for specific pages. This approach can help prevent the Advanced Translation Editor from automatically adjusting translated internal links. For more details on using different translation editors, please visit: Using Different Translation Editors for Different Pages.
Please note that this solution might be outdated or not applicable 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. If the issue persists, please open a new support ticket 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.
On multilingual tour pages, internal links pointing to other language versions of the same page are being automatically rewritten by WPML to point to the current page's language version instead.
For SEO is good if the pages are connected by internal links so we are offering on this page the same tour in different languages - do you speak English?click here!
But all the links are always changed back to the same page.
It's interesting that at older pages it's working very well. For example here:
I added the code to the functions.php file, but unfortunately it still didn't work as expected. After some consideration, I've decided to remove the links altogether — it seems we've exhausted our options on this one.
Thank you so much for your help and time — it is very much appreciated!
In case any further assistance is needed, I will be glad to take another look as admin into this.
Also, what you could try for this specific page is using the WordPress Editor as a translation method, as this will prevent the Advanced Translation Editor from automatically adjusting translated internal links.