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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+02:00)

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Mihai Apetrei 42 minutes ago.

Assisted by: Mihai Apetrei.

Author Posts
January 13, 2025 at 9:53 am #16587351

eamonnT

Background of the issue:
I am working on a site under development and trying to set up a copy of the site. The site URL is hidden link. I am not following any documentation.

Symptoms:
No specific issue or error message mentioned.

Questions:
How do I set up a copy of my site using WPML?

January 13, 2025 at 9:55 am #16587363

eamonnT

so i installed wpml on hidden link

It does not seem to detect that it is a development copy and is asking for a site key ?

It will not accept the key for live site LsWVjIZiwp

January 13, 2025 at 11:05 am #16587891

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

For a new/separate WordPress setup and different domain, you will always need to go here (https://wpml.org/account/sites) and generate a new site key for that new domain. While in the process of creating the key, you can also set the key as "Production" or "Development."

For duplicating your site, I usually recommend using a plugin like "Duplicator":
- https://wordpress.org/plugins/duplicator/

Documentation can be found here:
hidden link

Here is a small tutorial on how to use Duplicator:
hidden link

This plugin should also easily take care of the URL-replacing process.

After migration, register WPML in your new site and enter the new key:
Please Login to your WPML account >> go to the "Sites" page (https://wpml.org/account/sites/) >> Remove your old site/domain from there >> and add your new site >> it will give you a new key which you can add back in your site in Plugins > Add new > Commercial.

You might want to take a look at this page, too, as it contains essential information that you might need when WPML sees that the current site has been copied over a different domain. You must set that new site to "this is a copy of the main site."

I hope that you will find this information helpful.

Mihai Apetrei

January 13, 2025 at 11:23 am #16588016

eamonnT

Thanks

We are creating a new version fresh installation theme WordPress of the existing site hidden link ...

So my main goal is to be able to move all the WPML stuff to this temporary URL

Please advise the steps.

In addition, while this new site version is being created with the copy of WPML, can I still update my live site translations?

If yes how can I then merge the changes

To summarise

I am creating new fresh website new theme etc for hidden link

and this is being set up on

hidden link

January 14, 2025 at 11:21 pm #16595153

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Welcome back, and thank you for the updated info.

Sorry, I did not realize you would like to set up a new WordPress environment from scratch.

In that case, you will need to redo the WPML settings (in case you have changed specific settings), and regarding the content, you will need to move it manually (export it from the current site and import it into the new site).

I recommend that you take a look at our Import Export add-on documentation:
https://wpml.org/documentation/related-projects/wpml-export-and-import/#what-is-wpml-export-and-import

A migration plugin (like "Duplicator") will practically migrate everything from your current site (including the other plugin's data and files). From my understanding, you don't want that, so the manual method is the way to go.

Regarding updating translations in the current site, you can do that, but there won't be any connection between the two sites because the second one is built from scratch, so the updated content would need to be migrated again.

In case you ever consider migrating the current site with the help of a plugin to a new testing domain, please take a look at how that would work out:
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/

I hope that you will find this information helpful.

Please let me know how things go.