This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to redirect incoming links that use the ?lang=en parameter to a specific path, but the system still redirects to the base language despite using custom code.
Solution:
We recommend using a tested and approved redirection plugin that works well with WPML. You can find this plugin here: https://wpml.org/plugin/redirection/
If you need further customization, consider hiring a specialist from our Contractors service, available here: https://wpml.org/contractors/
If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, 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 1 reply, has 0 voices.
Last updated by 2 months ago.
Assisted by: Lucas Vidal de Andrade.