Skip to content Skip to sidebar
Updated
May 8, 2026

Learn how to set up WPML properly when you create a copy of your site or migrate it to a new domain.

When you migrate your site, WPML allows you to continue translating without losing existing translations or credits. You can choose if you want to connect the original and new sites, so they can share credits, translation memory, and glossary.

To set up WPML correctly on your new site, follow two essential steps:

  1. Complete WPML’s migration wizard. WPML automatically detects changes to your site’s URL and shows you a migration wizard on your new site’s dashboard.
  1. Re-register the new site with a new site key. This allows you to assign automatic translation credits to the new site from your wpml.org account.

1. Completing WPML’s Migration Wizard

The banner with the migration wizard appears automatically on your new site after migration. Click on the Start Migration button.

WPML’s migration wizard banner

WPML automatically detects if you have automatic translation credits or subscription on your original site.

Then, it asks if you want to share them between new and original site using a migration code.

Share credits between original and new site via migration code
Share credits between original and new site via migration code

How To Get The Migration Code

When WPML’s migration wizard asks you to add a migration code, it’ll point you to a link where you can get the code. This link takes you to the Translation Tools page on the original site. Expand the Connected Sites section and copy the code.

If you can’t access your original site, you can also retrieve the migration code from your wpml.org account using the alternative link in the wizard.

2. Re-registering Your Site

WPML automatically unregisters the new site, when you copy or move it. After completing the migration wizard, you see a banner asking you to re-register the site.

banner asking a new site key for registering the new site
Re-registering your new site via a new site key

Simply get a site key from the link on this banner and paste it into the text field. 

Your new site is now registered with its own site key, and you’re able to manage automatic translation credits as before.

Results of Site Migration Via WPML’s Migration Wizard

The following table summarizes each case’s implications for WPML’s automatic translation and the Advanced Translation Editor.

Copy site with migration codeCopy site without migration code
What happens to the original site?Still running.Still running.
How are automatic translation and the translation editor affected?You can translate as normal on both sites.You can translate as normal on both sites.
What happens to automatic translation credits?Automatic translation credits are shared between sites.Credits aren’t shared, so you need to add credits or activate pay-as-you-go separately on the new site.
What happens to translation information (e.g. memory, glossary)?Translation information is shared between original and new site.Translation information is copied from the original site, and then managed separately on the new site.