Background of the issue:
I am trying to ensure that the Open Graph meta tags are displayed correctly for all languages on my site hidden link when sharing links.
Symptoms:
Open Graph meta tags are not showing up for two out of three languages both on Whatsapp and Telegram. It shows up only for French, the language the page was created in.
Questions:
Why are Open Graph tags not displaying for all languages on my site?
Welcome to WPML support. I will answer this ticket before it is assigned to one of my colleagues.
Could you please test if the same problem happens on a minimal installation?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except:
- Yoast SEO
- WPML Multilingual CMS
- WPML String Translation
- WPML SEO
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
One other thing to mention is that you need to update WPML to the latest version:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Click the "Check for Updates" button.
- Update WPML and its addons there.