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.
I'm still losing my replies to you. I guess I have to clear my Safari cache every single time I edit a reply.
I just turned on MEMCACHED to test it on live site. And no issues anymore with it, at least not on live site. I will test it on staging site once all my issues on the live site are resolved.
Since you already have access to my live site, can you tackle my other open tickets?
I'm still losing my translations on live production site. One of the button links had a wrong URL. So, I edited it on both, staging and live sites. It went well on staging, but on live production, I lost most of my translations with blank segments on the right hand side of the ATE page.
Yes, I cleared the WPML cache right after deploying staging and just now. I also just cleared the Chrome browser cache. But nothing can bring those back.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
As I mentioned on a another ticket, this seems to be related to an issue with translating button links using th latest Gen3 UI of the Advanced Translation Editor.
This issue should get solved in the upcoming update for the Advanced Translation Editor, but it might take at least 1-2 weeks until this update will be available.
Workaround:
Please enable the Advanced Translation Editor setting to use the old Gen2 UI (Legacy version). This solved the issue on your staging site.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Checking the staging site, I see it is connected twice to the same site URL. See screenshot.
Please remove those connections and make sure to connect the staging again with the production site.
From there on they should share translation memory, glossary and credits.
It also says on our systems that you registered hidden link again just two days ago.
IMPORTANT:
Please do not keep unregistering the site and registering it again, as this always will create a new organisation on our system and this must be what is causing the issue.
Simply keep both sites registered on wpml.org, connect them. After pushing from staging to live, always use the "Copy" option inside the migration banner.
That's exactly how I have disconnected the sites. How did you connect the sites again?
Anyhow, I'm still losing translation past resetting the page by making small change in the page title. But, I was finally able to convert my French links without the /fr/ subdirectory add-on.
Feel free to test any pages out as I have made a full backup past deployment and before any testing.