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 Raja Mohammed 2 months, 4 weeks ago.

Assigned support staff: Raja Mohammed.

Author Posts
July 22, 2019 at 10:53 am

matsH-4

I am trying to: Get the redirection to work

Link to a page where the issue can be seen: wptest.rampanel.com

I expected to see: A redirect to wptest.rampanel.com/sv as my Chromebrowser is set to Swedish.

Instead, I got: No redirection.

July 22, 2019 at 11:14 am #4256511

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi there,

I am not able to reproduce the issue with your site, The redirect works without any issue.

please refer hidden link

Please note WPML will do this language redirect only once and then not redirect anymore. We do this to allow visitors to still switch languages. If we always push back to the browser’s language, visitors will not be able to manually switch languages after WPML redirects them to the language set by their browser.

This single-time redirect operation resets every 24 hours (which you can change too).

https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/#no-redirection-when-refreshing-the-browser

I hope this helps you better,

kind regards
Raja