Problem: The client is unable to use the WPML plugin after changing the domain name of their site, as the plugin is requesting a code from the previous dummy site used during staging. Solution: If you're experiencing issues with the WPML plugin after changing your domain, we recommend the following steps: 1. Visit https://wpml.org/account/sites and remove the old domain from the list. 2. Add the new domain and copy the newly generated key. 3. In your website's admin panel, navigate to Plugins > Add New > Commercial Tab and click on "Unregister WPML from this site". 4. Register the website again using the key you copied in step #2.
This process should resolve the issue with the plugin asking for a code from the dummy site. If this solution does not apply to your situation, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the problem persists. You can do so at WPML support forum.