This thread is resolved. Here is a description of the problem and solution.
Problem:
The client has enabled the Browser language redirect functionality with the setting "Redirect visitors based on browser language only if translations exist". However, they are experiencing issues as the site does not redirect to the Polish version when accessing the homepage with the browser language set to Polish.
Solution:
We explained that WPML performs the language redirect only once to allow visitors the option to switch languages manually. If WPML were to redirect to the browser's language every time, it would prevent users from choosing a different language after being redirected. We recommended checking the browser's cookies or using an incognito window to test the redirect again. Additionally, we provided a guide for further assistance:
Automatic redirect based on browser language
If the client needs to customize the behavior further, we suggested consulting our hooks reference:
WPML Hooks Reference
If the provided solution is not relevant due to being outdated or not applicable to the client's case, we recommend opening a new support ticket. We also highly suggest checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed. If further assistance is needed, please contact us through the 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 2 voices.
Last updated by 1 year, 1 month ago.
Assisted by: Osama Mersal.