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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 14 replies, has 2 voices.

Last updated by Christopher Amirian 8 months ago.

Assisted by: Christopher Amirian.

Author Posts
October 6, 2024 at 7:40 am #16257518

nouraa-3

Background of the issue:
I have two domains, admin.shopvend.com and shopvend.com, both registered with WPML and using the same database. I am trying to manage translations across both sites.

Symptoms:
The translation management is not working on both sites. Each time I try to enable it on one of them, it keeps getting disabled, and I receive the notification 'WPML detected a new address for this site'.

Questions:
How can I enable translation management on both sites without it getting disabled?
How can we maintain both websites on the same database without issues?

October 6, 2024 at 2:36 pm #16258129

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Please select the copy option instead of the move option as you want to instances of the same website.

For more information:

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

Thanks.

October 7, 2024 at 6:26 am #16259039

nouraa-3

Hello,
I selected this option but after a short time the same message keeps appearing again
'WPML detected a new address for this site'
both sites on same db

Screenshot 2024-10-07 092545.png
October 7, 2024 at 3:39 pm #16262642

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

Thanks.

October 17, 2024 at 7:59 am #16298628

nouraa-3

Hello,

October 17, 2024 at 8:02 am #16298635

nouraa-3

Hello I don't know why the above reply not private, but please try with https, and make sure no additional spaces in password

October 17, 2024 at 12:49 pm #16300265

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I did that but unfortunately I still get the error below:

Error: The password you entered for the username wpmlsupport is incorrect. Lost your password?

If you click the checkbox below the reply box to make the response private it will show the form that you can add the proper login info.

Thanks.

October 20, 2024 at 6:24 am #16308014

nouraa-3

Hello,

I have changed the password for you please try with this new password

October 20, 2024 at 6:26 am #16308016

nouraa-3

Again, no private reply, could you share an email to contact you directly please?

October 20, 2024 at 8:21 am #16308105

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you. I already got the email from the previous message and managed to login.

Ok this is a weird setup and I do not think it is possible to use both.

I went to the admin site and as a test changed something on the download page. Added an extra !. (screenshot)

Then the change is also shown on the shop page. I have never seen such setup.

So the problem is that the site is exactly the same! It is not a copy of the previous website.

So when a new domain is detected the WPML plugin adds proper settings in the database. But the database changes is now for the current domain, but the same database is also approached with another domain and that confuses WPML.

I do not think it is possible to use WPML on both website with this scenario.

To be 100% certain I asked the second-tieer support and will get back to you with a definitive answer.

Thanks.

Screenshot 2024-10-20 at 12.07.51 PM.png
October 20, 2024 at 9:44 am #16308362

nouraa-3

Thanks, ok waiting for your answer

October 21, 2024 at 8:17 am #16310764

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I have an answer. This seems to be also raised by another customer that had a setup like yours.

We will provide a feature in WPML 4.7 release that you will be able to enable the domain and get rid of the copy/move box. (Check the screenshot)

It is not available at the moment, and I do not have an ETA for version 4.7 release as it will be a major one and it needs extensive testing process.

For now, you need to live with clicking the copy option each time if you want to change something or you can using only one domain for your edits for the time being.

Thanks.

image.png
October 22, 2024 at 11:34 am #16317133

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Our second-tier team suggested a database change in WPML tables that might make your websites work for now.

Would you please get back to us with the message that you completely backed up the website and your permission to install a plugin to access your website database so I can perform the command?

Thanks.

October 23, 2024 at 8:19 am #16320548

nouraa-3

We managed to solve this by remove admin.shopvend,
now the credits we have for shopvend.com not visible to us, how to add them back?

October 23, 2024 at 3:19 pm #16322592

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Please bring back the credits to wpml.org by doing the steps below:

https://wpml.org/documentation/automatic-translation/why-credits-may-be-missing-and-how-to-fix-it

And please unregister and register WPML after that. All the details are mentioned int he documentation above.

Thanks.

The topic ‘[Closed] Run WPML on two domains with same database’ is closed to new replies.