Skip Navigation

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 2 voices.

Last updated by Andreas 1 year, 11 months ago.

Assisted by: Andreas.

Author Posts
February 17, 2023 at 11:35 am #13056631

Antoinet

I want to redirect by browserlanguage detection but this is not working. I Followed the instructions on your site for this.

hidden link
Despite of changing my browserlanguage it is still going to the dutch language instead of the english.

lang-en-Screenshot_2.jpg
lang-en-Screenshot_1.jpg
browser-language-redirect-setting-Screenshot_3.jpg
February 17, 2023 at 11:49 am #13056767

Andreas

Hello there

Thank you for contacting us. I am happy to help you.

I have tested your site and it is working as expected.

Visit to hidden link and it redirect to hidden link since my browser has ENG language.

Here is also a screencast :

hidden link

Have also in your mind :

Are you using a new session?

Remember that WPML will only redirect once. You need to clear all cookies or start an incognito browser (which always has a fresh history). This starts a clean session and simulates a new visitor.

From : https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/#debugging-browser-language-redirection

I hope this helps. Please let us know how it goes or if you need any further assistance. I'll gladly help you. 🙂

Regards,
Andreas