Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with their multilingual website not redirecting users to the appropriate language version based on the user's country, even when using a VPN.
Solution:
We explained that WPML does not offer redirection based on geolocation, but rather on the browser's language. For example, if a browser is set to English, WPML will redirect the visitor to the English version of the website. To achieve redirection based on the user's location, we recommended using a Geolocation plugin. We provided a list of compatible plugins that can be found at https://wpml.org/plugin-functionality/geotargeting/.
Additionally, we shared links to existing support tickets discussing similar topics:

If this solution does not seem relevant, 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 6 months ago.

Assisted by: Mihai Apetrei.

Author Posts
December 5, 2023 at 9:58 am #14995079

harsh-devS

Hello team
i have use 4 language and also configure very carefully but as per languaga and as per country website is not redirect
like: country is france (connected with VPN ) my website should redirect automatically hidden link this URL
but this is jot redirection.

December 5, 2023 at 11:22 am #14995991

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Before this ticket gets assigned to my colleagues, I will try to help.

The only redirection WPML offers is related to the browser's language (https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language), not Geolocation, so you can't redirect users based on their current location.

Example of how browser-language redirection works: Chrome is set to English, the visitor is redirected to the English version of the website.

To redirect based on location, you would need a Geolocation plugin for that.

You can check our list of compatible plugins here:
https://wpml.org/plugin-functionality/geotargeting/

Here you can also find some existing tickets related to the same topic:

- https://wpml.org/forums/topic/i-wants-to-auto-translate-according-to-country/
- https://wpml.org/forums/topic/country-based-redirect/

I hope that you will find the information above helpful 🙂

Kind regards,
Mihai Apetrei