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 13 replies, has 0 voices.

Last updated by Mihai Apetrei 12 hours, 8 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.

January 15, 2025 at 2:06 am #16595308

eamonnT

okay thanks the manual method

So what should I do when asked for licence key to activate WPML?

January 15, 2025 at 9:53 pm #16599390

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

When you set up WPML from scratch on the new site, you will have a button/link available to generate a new key for that site, or you can go here (https://wpml.org/account/sites) and generate a new key for the domain of your new WordPress setup, copy that and use it when the WPML wizard is going to ask for that.

January 17, 2025 at 11:55 am #16605951

eamonnT

But This is not a new site but a developments site, If I use a new key can I still import the WPML content to the dev site?

January 17, 2025 at 12:05 pm #16605970

eamonnT

When I do as requested, I get this page asking questions?

what next.gif
January 17, 2025 at 4:50 pm #16607599

Mihai Apetrei
Supporter

Languages: English (English )

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

Hello,

Based on your statement, "I am creating a new website with a fresh theme," I understand that you prefer to set up a new WordPress installation from scratch rather than perform a migration.

When you migrate a site, all translations are stored in the database, and they will remain intact as long as the migration process is carried out correctly and completely.

However, if you choose to create a brand new WordPress site from scratch and manually reinstall WPML, you will need to register it with a new key first. After that, yes, you can follow the manual method to export content from the old site to the new one.

Please let me know if I’ve missed anything or if I misunderstood your request.

January 23, 2025 at 8:44 am #16626235

eamonnT

so I will need to use the import/export plugin that comes with WPML?

On the new site I used OTGS and add this as a plugin.

BUT how to I add this same plugin to the live site ?

January 23, 2025 at 11:18 pm #16630010

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Yes, you will need that plugin.

You can either download it from here (https://wpml.org/download/wpml-export-and-import/?section=changelog) then install it (by uploading it) to the site (Plugins > Add new > Upload > install > activate) or you can go to your site's backend > Plugins > Add new > Commercial > and try to find it there and install it + activate it from there.

January 24, 2025 at 1:14 am #16630109

eamonnT

okay thanks..

so the import and export plugin will copy all pages from wpmp database will it also copy my settings inclsuing taxonomy and the new languages etc that I have set up on the live site ?

January 27, 2025 at 1:17 pm #16637876

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there!

I completely understand how important it is to ensure that everything, including settings and custom configurations, is properly transferred when working on a development site.

When it comes to the WPML Import/Export plugin will indeed help you move over your content, including pages, posts, and translations. However, I want to clarify that while it does a great job moving the content, it won’t automatically move some of the more intricate settings, like custom taxonomies or language configurations.

If you've set up new languages or custom taxonomy settings, you will need to manually replicate those settings on the development site before importing the content. It might take a little extra time, but that way, you can make sure everything is set up the same way as on the live site.

As for the import/export process itself, once we’ve gotten the content across, the development environment should be ready for testing and further work. But, once again, just a heads-up: if there are any specific WPML-related settings or configurations that need to be migrated (like language switcher settings, etc.), those need to be handled separately.

I hope this clears things up!