Skip to content Skip to sidebar

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

Problem:
After migrating the production site to a new server, both the staging and production sites were disconnected from WPML's translation memory and pay-as-you-go services. The client was unable to insert a migration code on either site as the option to do so was missing.
Solution:
1. On the main site (usually production), navigate to WPML → Translation Dashboard → Tools tab. Under Connected Sites, copy the migration code.
2. On the secondary site (e.g., staging), go to WPML → Translation Dashboard → Tools tab. If the option to Enter the connection key of another site is missing and only a code to copy is visible, cancel the automatic translation account on this site. After any pending charges are processed and outstanding invoices are paid, the option to enter a migration code should appear. Paste the code from the main site here.
3. Confirm that both sites are now sharing translation memory and pay-as-you-go credits by checking under Connected Sites on the Tools tab.
If these steps do not resolve the issue due to the absence of an input field for the migration code, it indicates a need for further investigation by the WPML support team. Possible causes could include account inconsistencies, licensing issues post-migration, or UI bugs.

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 issues persist, please open a new support ticket for personalized assistance.

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 15 replies, has 1 voice.

Last updated by Kor 7 months ago.

Assisted by: Kor.

Author Posts
September 25, 2025 at 8:19 am #17431108

Johannes Rohr

Background of the issue:
I migrated the production site to a different server and want both the staging site and the production site to be connected to the translation memory and pay-as-you-go. The issue can be seen at hidden link.

Symptoms:
After migration, both the staging and the production site are disconnected from translation memory. I cannot insert a migration code; both sites only allow me to copy a code, not to insert it.

Questions:
How can I reconnect the staging and production sites to the translation memory?
Why am I unable to insert the migration code on both sites?

September 25, 2025 at 8:23 am #17431114

Johannes Rohr

both sites are disconnected, how can i reconnect them to translation memory?

September 25, 2025 at 8:27 am #17431153

Johannes Rohr

Hello? Is anyone there?

September 25, 2025 at 9:52 am #17431663

Kor

Thanks for contacting us. Could you please tell me your staging site URL that you're trying to connect?

September 25, 2025 at 10:02 am #17431734

Johannes Rohr

hidden link

Please understand that the staging site was connected but now the connection is somehow gone

September 25, 2025 at 3:11 pm #17433287

Kor

Thanks for your reply. I can see that the translation memory is not connected to hidden link . Could you share access to both Websites so that I could troubleshoot this for you? Please backup before you share the credentials.

September 26, 2025 at 7:03 am #17434589

Johannes Rohr

If you need SFTP access, I can provide sftp access with password on the staging site, but the production site only allows sftp with public key auth. Do you need it or is WP admin access sufficient for the time being?

September 26, 2025 at 8:14 am #17434890

Johannes Rohr

Hello? I would be glad if this could be resolved before the weekend. Thanks!

September 26, 2025 at 11:26 am #17435674

Kor

Thanks for your reply. I've reloaded 100 credits here for a test hidden link It's already connected as shown in the attached screenshot.

Screenshot_1.png
September 26, 2025 at 11:27 am #17435689

Kor

You can try disconnecting and reconnecting it to see if it works. Anyway, I've turned off the "Translate Everything Automatically" feature temporarily for you for checking purposes.

September 26, 2025 at 11:42 am #17435773

Johannes Rohr

Thanks! Disconnecting and reconnecting works fine. However, the glossary remains lost. I had the hope that it also would be recovered but it seems to be irretrievably lost. Do you have a suggestion as to how this may have happened?

September 26, 2025 at 11:45 am #17435805

Kor

Thanks for your reply. Could you please try importing and exporting the glossary as shown in the attached screenshot? I checked our system and noticed multiple records of both websites being copied repeatedly, which might have caused the issue. Everything looks fine now on my end.

Screenshot_2.png
September 29, 2025 at 7:44 am #17439797

Johannes Rohr

To import the glossary, I would need a copy of it first. I wasn't aware that such things can happen, so I did not make a backup. Do you see it somewhere?

September 29, 2025 at 8:52 am #17440013

Kor

Thanks for your reply. Are you saying that the glossary is missing on your staging site, too? I thought you migrated the site from the staging to production?

September 30, 2025 at 7:13 am #17442800

Johannes Rohr

It is missing at both sites, yes.