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 25, 2024 at 10:44 pm #16332434

ronaldT-5

If I finish the second instance of the first dialog box in Safari, the end process go through without any errors.

Can you believe that? I need the use of both browsers to set it up properly.

I will check later if my translations are all back from staging... <crossed fingers>

October 26, 2024 at 3:50 am #16332743

Andreas W.
Supporter

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

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

Could you please try to use the dedicated options inside WPML > Translation Management to connect the live site with the staging site?

https://wpml.org/documentation/automatic-translation/automatic-translation-subscription-for-multiple-sites/

Alternative:

Cancel your Pay-As-You-Go subscription on the staging site. Create a new subscription on the live site. Then later connect live site to staging site, if needed.

October 26, 2024 at 5:44 am #16332800

ronaldT-5

Can you be more specific? That article is mind boggling, confusing to me.

I'm already Copied the migration code.

But, things are not working right yet. I edited the Google Review page on the live site, then most of my translations vanished. Enough to go CRAZY.

October 26, 2024 at 5:54 am #16332816

Andreas W.
Supporter

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

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

Hi,

I can offer to take a closer look.

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

Best regards
Andreas

October 26, 2024 at 3:36 pm #16333455

ronaldT-5

Page with remaining issues:

- Google Reviews (missing translations after a tiny edit on live site)

All the other pages are 100% translated, but the issue with separate domains is still in effect. Resaving the translations in the live site did not solve the initial issue.

Am I the ONLY one deploying a working staging site to live production with WPML involved??

October 26, 2024 at 4:02 pm #16333464

ronaldT-5

I just fixed a link URL in the page named "Lanaudiere Home Alarm Installation", and lost most of my translations too as a result.

I am giving the option to subscribe to pay-as-you-go automatic translation, but why?

October 27, 2024 at 3:20 am #16333902

ronaldT-5

I am given the option to subscribe to pay-as-you-go automatic translation, but why? I'm already linked with staging for it.

October 28, 2024 at 8:29 am #16336246

Andreas W.
Supporter

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

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

Hello,

I would like to take a look into this for you but can not longer log in to the site.

The private reply form is activated again, so that you can provide me access.

Best regards
Andreas

October 28, 2024 at 9:43 am #16336780

Andreas W.
Supporter

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

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

Hello,

On hidden link go to WPML > Translation Management > Tools and click "Copy Migration code".

Now log in to your staging site which has a valid subscription for Pay As You Go.

Go to WPML > Translation Management > Tools > Connected site and click the button "Enter the connection key of another site".

Enter the key.

This usually should connect the sites. In case not, please let me know. Take note, that this might fail of you are having an open bill on any of the site of your wpml.org account that has not been paid yet.

Guide:
https://wpml.org/documentation/automatic-translation/automatic-translation-subscription-for-multiple-sites/

October 28, 2024 at 1:59 pm #16338038

ronaldT-5

I did exactly as you asked for.

I'm not sure I will EVER use that staging again. Way too much problems deploying it. All my French links are using sub-directories instead of separate domains. That's a big hurdle.

Screenshot 2024-10-28 at 9.57.17 AM.jpg
October 28, 2024 at 2:04 pm #16338061

ronaldT-5

Sorry, I did it on Safari which refuses to copy the migration code. I was able to do so successfully on Chrome. Not sure why it is showing up twice though.

Screenshot 2024-10-28 at 10.06.16 AM.jpg
October 28, 2024 at 2:53 pm #16338330

ronaldT-5

I reset the Lanaudiere Commercial Security System page on the staging by renaming the title slightly and renaming it back to original. Now, instead of 100% translations, I get only 81%, meaning I have lost 19% of my translations. Why are these incidents happening???

October 28, 2024 at 7:25 pm #16339536

ronaldT-5

How can I recover the lost translations???

I suspect it is the MEMCACHED option on the server that is affecting the translations. I had turned it off, and back on after I deployed the site from staging. Big mistake. I turned it back off for now. I suspect it is incompatible with WPML.

Anyhow, for now, how can I recover my lost translations?

Would restoring a previous backup from the hosting server help?

October 28, 2024 at 9:45 pm #16339809

Andreas W.
Supporter

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

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

Indeed, recovering a backup would be the only way, just usually if something was translated already, then it would be saved inside the translation memory of the Advanced Translation Editor.

It sounds as if there was an issue with updating the original contents and WPML is not aware that changes were made.

Please let me know if you would like me to investigate this further on your site or if there is anything else I can do for you?

Did you lose any credits due to this issue?

October 29, 2024 at 1:51 am #16339994

ronaldT-5

The culprit as far as I'm concerned is MEMCACHED off the server. Yes, you could investigate why MEMCACHED is not compatible with WPML. Let me fix the other issues first before you access the site again to investigate.

Yes, with all the issues thus far, I've lost tons of credits.

Since you are ignoring the initial subject, I suspect you expect me to change all the links to use a different domain (alarme-maison.ca) and get rid of the existing links with a subdirectory, such as /fr/. But, how in the world, can I achieve this? The ATE does not include any link URL's and you said one cannot edited the translated pages. So?

I did restore from the earlier backup to recover my lost translations. I've recovered most, but not all. In an effort to convert my French links to using a different domain, simply by resetting the pages, I lost tons of existing translations.

Can ANYONE help me here? Is everyone else struggling like this using WPML from staging?