This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was setting up their website hosted on SiteGround to have each language point to a different domain. They encountered an issue where WPML could not validate the domains due to a 'www' redirection rule automatically added by SiteGround in the .htaccess file.
Solution:
To resolve the issue, the client removed the automatic 'www' redirection rule from the .htaccess file. This change allowed WPML to successfully verify all multilingual domains, enabling the site to function as expected. It is important to note that it is not necessary to remove 'www' from the main site URL; the key is to avoid forcing 'www' for parked or language-specific domains.
If you're experiencing similar issues, we recommend checking your .htaccess file for any forced 'www' redirection rules and removing them if present. For further guidance, you can refer to our documentation on setting up different domains per language.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue 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 3 replies, has 0 voices.
Last updated by 6 days, 7 hours ago.
Assisted by: Bruno Kos.