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.
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.
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.
- 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??
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.
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.
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.
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???
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?
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?
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?