Skip to content Skip to sidebar

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

Problem:
The client is developing a new website using a subdomain and needs to know how to use WPML step by step, first on the subdomain to ensure everything is working correctly, and then how to migrate the website to the main domain.
Solution:
1. Set up WPML on the subdomain site by following our Getting Started Guide.
2. To migrate your site from the subdomain to the main domain, use a migration plugin like "Duplicator". You can find the plugin here:

and the documentation here:

Additionally, here is a tutorial on how to use Duplicator:

3. After migrating your site, update your WPML registration by going to WPML.org > Account > Sites. Here, remove the old key from the previous environment and generate a new key for the new domain. You may also choose to keep both keys, but it will occupy one of your website slots.
4. In your WordPress backend, navigate to Plugins > Add New > Commercial and register the new key. If necessary, click "Unregister" before registering the new key.

If this solution doesn't look relevant to your situation, please open a new support ticket and we will be happy to assist you further.

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

Last updated by Mihai Apetrei 1 year, 9 months ago.

Assisted by: Mihai Apetrei.

Author Posts
November 16, 2023 at 8:49 am #14823053

santiago-AngelG

Tell us what you are trying to do?
I am developing a new web using a subdomain, and need to know how to use WMPL step by step, first on subdamain to check everything is ok, and then with the web migfration to the main domain

November 18, 2023 at 12:59 am #14867079

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

1. First, you need to set up WPML on your site by following the steps in our documentation below:
https://wpml.org/documentation/getting-started-guide/

You will find a good amount of information there for everything you might need.

2. For migrating your site between staging and production environments, my recommendation is that you use 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

After you migrate your site, you will just need to go to WPML.org > Account > Sites (https://wpml.org/account/sites) and remove the old key that you were using on the other environment and generate a new key for the new environment (or you can leave both keys there but it will take one of your website slots).

After that, go back to the newly migrated website backend > Plugins > Add new > Commercial and register the new key (you might need to click "Unregister" first).

I hope that you will find this information helpful!

Also, please do not hesitate to get back to us with a new ticket whenever you need more help along the way, for any specific situations that you might encounter. Keeping one ticket per issue would be best.

Kind regards,
Mihai Apetrei