We are using Yoast SEO and the compatibility plugin. We are experiencing an issue where the title tags we have written in the Yoast SEO settings for things like archive page titles are being overwritten from the source language (english) into one of our translations.
1) Have a site configured with WPML, Yoast SEO, WPML String Translaiton, and the WPML SEO plugin.
2) Configure an "Organization logo" in Yoast SEO > Settings > representation
3) Translate the SEO Title and Description for archive pages using WPML string translation
4) Make a change to the Yoast SEO > Settings area, such as tweaking a title or description field.
5) Visit a *translated* language on the frontend of the site. This must be the FIRST page you visit after making the change in the backend and it must be a translated URL.
On the frontend page load Yoast SEO will try to look for it's own internal meta for the "company_logo_meta" field. Normally stored in wpseo_titles. This meta is not available on translated URLs. Possibly because it's value is an array and perhaps skipped by String translation.
When Yoast SEO fails to find this meta, it will search for "company_logo_id" instead, which it does find successfully. It will then try to update the wpseo_titles option to add the missing "company_logo_meta" field for next time. Because we are on a translated version of the site, the values it will update into wpseo_titles will translations and not the source language.
Now that the faulty wpseo_titles data has been stored, loading the source language of an archive page will show the translated text that was improperly written. The english text has been wiped out. When this has happened to us in the past we've had to go back to backups to recover the old data from the database.
Thank you for contacting WPML support and reporting this issue.
I’ve checked this further and can confirm that the same issue from the support ticket you shared has already been reported to our compatibility team.
For now, the recommended workaround is:
* After saving the Yoast settings, visit the frontend in the primary language first
In the meantime, our team has contacted the plugin author, and the fix will likely come from their side. You can follow the progress here (the issue has been reopened): hidden link