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:
add_filter( 'wpml_translate_link_targets', '__return_false' );
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.
This topic contains 5 replies, has 0 voices.
Last updated by 2 months, 3 weeks ago.
Assisted by: Andreas W..