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: Exception
This topic contains 5 replies, has 1 voice.
Last updated by Alexander 3 days, 23 hours ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
February 14, 2025 at 12:38 am #16704734 | |
Alexander |
Background of the issue: Symptoms: Questions: |
February 14, 2025 at 6:09 am #16705007 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. Before this ticket gets assigned to one of my colleagues, I will try to help. 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": Documentation can be found here: Here is a small tutorial on how to use Duplicator: 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: 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" or, if it was migrated from a staging site to a live site, then you have to set it up as: "I changed the address of the site to this new one". Translations are saved into the database, so you shouldn't lose them. I hope that you will find this information helpful. Please let us know how things go. Mihai Apetrei |
February 14, 2025 at 10:13 pm #16708128 | |
Alexander |
Hi Mihai, It's clear that I can't use the old key for this website. The question is: What will happen if I'll replace the old key with a new one? Will be the translation for all the pages (about 40) gone or everything will be left as before and working correctly? I'm not sure, if the translations are hosted on the customer's server or on WPML servers. That's why I am reluctant to simply replace the key with a newly created one because losing all the translations would be fatal for my client. Thanks a lot! Best regards, |
February 14, 2025 at 10:23 pm #16708129 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi Alex, and welcome back. The translations are saved into the site's database. Updating the WPML key will not remove the translations from the site. |
February 15, 2025 at 10:54 pm #16709804 | |
Alexander |
Hi Mihai, Sounds awesome! That's exactly what I wanted to know 👍 Thanks a lot for your great assistance! Best regards, |
February 17, 2025 at 11:46 am #16713809 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
It was my pleasure, Alex! 🙂 Good luck with the project! Can you also please mark this ticket as resolved and if you have a minute, maybe also leave a review regarding our conversation? Thank you very much! Mihai |
February 18, 2025 at 12:53 am #16716727 | |
Alexander |
Thanks a lot, Mihai, for your help! |