Skip Navigation

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 1 reply, has 2 voices.

Last updated by Alejandro 1 year, 3 months ago.

Assisted by: Alejandro.

Author Posts
August 17, 2023 at 12:16 pm #14245707

andrijaG-2

I am trying to:
We have copied production site to development (hidden link -> hidden link).
On development site we unregistered WPML and registered using new key for development site.

I expected to see:
No notification from WPML.

Instead, I got:
"This site has moved to a new location".

August 18, 2023 at 9:45 am #14251147

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello!

This banner appears when you select the "no" option in the migration banner, and in that banner you also get a small "warning" saying that the domain you moved the content from is supposed to disappear, that you won't use it anymore, so what you're seeing is expected.

However, i suppose that at a later time you wanted to return to that domain and now you are stuck with that banner, right?

If that's the case, then you can do the following:

- Backup your site's Database
- Go to WPML > Setting and enable the "classic translation editor"
- run this query in your site's database:

select *
from wp_options
where option_name = 'WPML_SITE_ID:ate'
OR option_name = 'WPML_TM_AMS'
OR option_name = 'otgs_wpml_tm_ate_cloned_site_lock'

-------------------
Note: "wp_" is the prefix of your WP installation, so you might have to change it to suit yours.

Note 2:
If you don't know how to run this query, you can also search for the following entries in the wp_options table of your installation

+ otgs_wpml_tm_ate_cloned_site_lock
+ WPML_TM_AMS
+ WPML_SITE_ID:ate

-------------------

- Delete those entries
- Go to WPML > Settings and re-enabled ATE
- flush the site's cache if present
- Re-enable ATE
- Use this guide to link your original site with this one: https://wpml.org/documentation/automatic-translation/automatic-translation-subscription-for-multiple-sites/#how-to-connect-your-sites

And to avoid doing this in the future, you might want to select the "yes" option on the banner's migration notification (yes = this is a copy of my site).

can yo try it out and let me know how it goes?