Problem: The client updated WordPress to version 6.7 and all WPML plugins to the latest versions. However, they encountered an issue where they could not switch the frontend language to German (DE) by clicking on the DE flag in the main menu. The domain for the German language was incorrectly redirecting to the main domain. Solution: We first ensured that the client was using the latest WPML version by advising them to update their WPML plugin and add-ons to version 4.6.14. We then guided the client to check their domain and 'A different domain per language' setup according to our guide. Further troubleshooting steps included: - Synchronizing posts taxonomies - Clearing the cache in WPML - Resaving the permalink structure Upon deeper investigation, it was found that the issue was due to a server-level redirection, likely configured in the LiteSpeed server settings or the hosting control panel. We recommended checking the LiteSpeed server configuration, hosting control panel redirects, and DNS settings for the domain. If these steps do not resolve the issue, we advised contacting the hosting provider for further assistance.
If this solution does not apply to your case, or if it seems outdated, 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 problem persists, please open a new support ticket.