This thread is resolved. Here is a description of the problem and solution.
Problem:
The client asked if when accessing the site from Spain, it would open in the Spanish or English version.
Solution:
If you are experiencing this, you should know that WPML only offers redirection based on browser language, not geolocation. Therefore, you cannot redirect users based on their current location. For example, if Chrome is set to English, the visitor will be redirected to the English version of the website.
To retarget based on location, you will need a geolocation plugin. You can check our list of compatible plugins here.
Also, here you can 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/
The solution could be irrelevant, either because it is outdated or because it does not apply to your case. If so, we suggest opening a new support ticket. We also strongly recommend reviewing the related known issues here, checking the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.
If you need additional assistance, please contact us at the WPML support forum strong>.
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 is split from https://wpml.org/forums/topic/sitemap-5/
This topic contains 1 reply, has 2 voices.
Last updated by 1 year, 5 months ago.
Assisted by: Mihai Apetrei.