Skip Navigation

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

Problem:
The client is experiencing issues with visitors being directed to sub-directory URLs instead of the correct domain URLs after changing the WPML-Language setting for different domains. Additionally, there are problems with a distorted home page and missing background images when switching to French.
Solution:
After migrating from staging to production please run the WPML troubleshooting options available at WPML > Support > Troubleshooting (Cleanup) > Clear the cache in WPML. This action can help resolve issues inside the Advanced Translation Editor.

If this solution does not resolve issues or seems irrelevant due to being outdated or not applicable to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at our support forum.

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.

This topic contains 0 replies, has 3 voices.

Last updated by Alejandro 1 month, 1 week ago.

Assisted by: Alejandro.

Author Posts
October 24, 2024 at 6:47 pm #16327979

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

You need to complete this dialog. Is there anything unclear about it?

If you would like the live site and staging tobe connected and share translation memory, glossary, please select "Yes".

The second part of the dialog will ask you if you also want to share pre-paid credits or a Pay-As-You-Go subscription between both sites.

October 24, 2024 at 7:13 pm #16328088

ronaldT-5

Not exactly what I get. I end up exactly where I was stuck earlier. See that snapshots below:

Screenshot 2024-10-24 at 3.13.49 PM.jpg
Screenshot 2024-10-24 at 3.13.37 PM.jpg
Screenshot 2024-10-24 at 3.12.02 PM.jpg
October 24, 2024 at 8:06 pm #16328379

ronaldT-5

Another snapshot upon trying to obtain a Migration Code:

Screenshot 2024-10-24 at 4.05.43 PM.jpg
October 24, 2024 at 11:33 pm #16328571

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Yes, this says that you can not use this site to get the code, as it has an active susbscription for Pay-As-You-Go.

In this case you would need to go to the other site (Live site), which does not have an active subscription, to get the code and then connect it to the staging site.

October 24, 2024 at 11:38 pm #16328573

ronaldT-5

Hmmm, I'm already on the live [production] site.

Screenshot 2024-10-24 at 7.39.07 PM.jpg
October 25, 2024 at 1:33 am #16328741

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Step 1) says you need to get the code from the staging site.

Do you have issues with accessing the code on the staging site?

October 25, 2024 at 2:11 am #16328796

ronaldT-5

As a matter of fact, I do. The option is greyed out.

Screenshot 2024-10-24 at 10.10.47 PM.jpg
October 25, 2024 at 3:00 am #16328852

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I am sorry for the misunderstanding.

The staging site is the one that is having a subscription for Pay-As-You-Go.

You need to get the code on the live site and paste it into the staging site at WPML > Translation Management > Tools > Connected Sites.

October 25, 2024 at 4:43 am #16328965

ronaldT-5

Wow, confusing indeed. Anyhow, I just tried it out. Everything worked out, except, when I paste it, is simply leave it blank. What gives? Is it a Safari browser issue?

Screenshot 2024-10-25 at 12.42.14 AM.jpg
October 25, 2024 at 4:48 am #16328981

ronaldT-5

Okay, I just tried it all on Google Chrome, and everything worked without a hitch. Why didn't tell me it didn't work on Safari? Am I the only one using Safari?

Screenshot 2024-10-25 at 12.48.42 AM.jpg
October 25, 2024 at 10:50 am #16330239

ronaldT-5

Thanks for your time

October 25, 2024 at 11:14 am #16330319

ronaldT-5

After all this, the issue about losing my translations is still occurring. At least on the Alarm Services Signup page. I will soon find out home many pages have this same issue. It appears to be mostly the image text translations that are affected the most.

Screenshot 2024-10-25 at 7.11.45 AM.jpg
October 25, 2024 at 1:55 pm #16330994

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies, I am not an Apple user and I was not aware of this issue.

I will investigate today if such issue was reported already and create an escalation ticket, if needed.

For the missing translation, could you please name me the permalink (url) of the page where the issue occurs, so that I can compare the old translations on our system?

Take note, that the Advanced Translation Editi will always delete translated segments, if the original content for this segment was edited.

October 25, 2024 at 2:54 pm #16331128

ronaldT-5

So far, I have found the following pages with issues (non-existent in staging):

hidden link
hidden link
hidden link
hidden link

October 25, 2024 at 10:35 pm #16332372

ronaldT-5

I have reset those pages in staging, and deployed the staging to production once again.

Upon accessing home-alarm.ca/wp-admin in Safari I got the same dialog box as shown in the snapshot below. The issue in Safari is when I click on the button "copy migration code", it does not bring it into the clipboard.

Everything works via Google Chrome, I get the "You're All Set" box, but upon clicking on the "Close" button, the same dialog box as shown below comes right back. And when I click on the Continue button, I get stuck at an error box (see the second snapshot below).

Screenshot 2024-10-25 at 6.34.08 PM.jpg
Screenshot 2024-10-25 at 6.24.23 PM.jpg