Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to activate the WPML license on a new domain after migrating your website. You deleted the old token and created a new one within WPML. However, when you click the 'Unregister WPML from this site' link in Settings > Installer, the page reloads but the link remains unchanged, and you cannot deactivate the WPML license.
Solution:
1. Add the following code to your

wp-config.php

file, replacing 'your-site-key' with the incorrect key:

define( 'OTGS_INSTALLER_SITE_KEY_WPML', 'your-site-key' );

2. Reload the Installer page, which should now allow WPML to unregister.
3. Remove the previously added code from the

wp-config.php

file.
After completing these steps, try to register WPML again and check if the issue is resolved.

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 you still encounter issues, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by Noman 3 months, 3 weeks ago.

Assisted by: Noman.

Author Posts
April 28, 2025 at 2:10 pm

dwayneH

Background of the issue:
I am trying to activate the WPML license on a new domain after migrating the website. We deleted the old token and created a new one within WPML.

Symptoms:
When I click the 'Unregister WPML from this site' link in Settings > Installer, the page reloads but the link remains unchanged, and I cannot deactivate the WPML license.

Questions:
How can I successfully unregister WPML from the old site?
Why does the 'Unregister WPML from this site' link not work as expected?

April 28, 2025 at 3:42 pm
April 28, 2025 at 5:40 pm #16976157

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

1. Added the following code with a wrong key to the wp-config.php file:

define( 'OTGS_INSTALLER_SITE_KEY_WPML', 'your-site-key' );

2. Reloaded the Installer page: hidden link, which unregistered WPML.

3. Removed the code from the wp-config.php file.

Could you please try to register WPML again and let me know if this resolves the issue?

Thank you for your cooperation

register wpml 1.jpg