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.

Tagged: 

This topic contains 6 replies, has 2 voices.

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

Assisted by: Mihai Apetrei.

Author Posts
August 1, 2023 at 9:28 am #14131991

anna-lenaR-2

Tell us what you are trying to do?
I want to clone site to the different domain.

Is there any documentation that you are following?
All related documentations.

Is there a similar example that we can see?
I have clone my site to one domain to another domain. Everything is going well excepting WPML Plugin. It is showing banner that is "This site has moved to a new location
". I tried reregistered the sitekey by creating new one. Also deactivated all the plugins excepting WPML and switch to the default theame. Nothing is working. I also deleted the site from the server and created it again but still getting same issue.

I am frustrated with this problem. Can someone help me regarding this matter.

What is the link to your site?
hidden link

Screenshot_1.png
August 1, 2023 at 12:29 pm #14134079

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

If you set your WP_HOME and WP_SITEURL dynamically in your wp-config.php you will get reminded that the site was moved, without actually being moved.

This is what I mean by dynamic:

define('WP_HOME','<em><u>hidden link</u></em>'.$_SERVER['HTTP_HOST']);
define('WP_SITEURL','<em><u>hidden link</u></em>'.$_SERVER['HTTP_HOST']);

So this code would need to be removed from that file in case it is added there.

Also, there should be a different WPML key that's being used for the new copy/duplication/migration of the site.

Please let me know if this helped.

Related documentation:
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/

Kind regards,
Mihai Apetrei

August 2, 2023 at 9:01 am #14140235

anna-lenaR-2

I removed those two lines from wp-config.php file and re-register site with new key.
But still it is giving same error.

Please help me with this matter.

August 3, 2023 at 12:58 pm #14149767

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Thank you for the update.

1. Can you please let me know the key that you are using for each of the domains? I need a list like: "domain.com - key: 32325"

2. Can you please share access to both sites for further investigation?

You can create a new admin account for me on both sites so that we can have the same user and password on both.

I'm activating the private fields below.

In case you need an email address, you can add mihai.a@onthegosystems.com

I will be waiting for your response.

Mihai

August 5, 2023 at 6:41 pm #14159103

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

You can find both keys here:
https://wpml.org/account/sites

August 8, 2023 at 10:42 am #14168547

anna-lenaR-2

Hello,

Please reply me if you are doing something or not in the site.

If you need any help. We can have a video call to solve the problem. I am trying to contact you to since last 2 week, Now i am setting deadline to 15 august. Please connect to me and tell me what is the problem.

Wait to reply from you.

Thank you.

August 8, 2023 at 10:45 am #14168551

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

I did not wanted to reply to you after each reply that you send so that I don't disturb you in any way 🙂

This issue that we are investigating here is delicate and is not something that can be figured out fast.

I might need to further escalate this if I don't find the issue on my own but I will keep you up to date as soon as I take steps in that direction ar as soon as I have updates.

Thank you so much for your cooperation and for your patience throughout this debugging process.

You are not forgotten and I am currently still investigating this matter.

I'm leaving the ticket assigned to myself.

Mihai

August 9, 2023 at 2:45 pm #14176797

anna-lenaR-2

Hello there,

I reviewed the site and my problem is fixed. I want to thank you for the support.