This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wanted to display the site in the language of the country where the user is located and had issues with WPML not recognizing a newly created subdomain.
Solution:
We informed the client that WPML only offers redirection based on the browser's language, not geolocation. To redirect users based on their location, a geolocation plugin is required. We provided links to our documentation on browser language redirection and a list of compatible geolocation plugins:
We also shared links to related support tickets that might be helpful:
Regarding the subdomain issue, we directed the client to our documentation on using WPML with different domains per language and advised that the domain/subdomain setup needs to be handled by the hosting provider:
How to use WPML with different domains per language
We also noted that sometimes the 'Not valid' notice for a domain in WPML can be a false-positive and suggested saving the settings to see if it works on the front-end. If issues persist, we recommended consulting with the hosting company or hiring a developer or a WPML contractor.
Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If you need further assistance, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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 6 replies, has 2 voices.
Last updated by 1 year, 3 months ago.
Assisted by: Mihai Apetrei.