This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to resolve an issue where hreflang tags have disappeared from the source code on your website.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Navigate to WPML >> Languages >> SEO Options.
2. Ensure that the option 'Display alternative languages in the HEAD section' is enabled.
3. If it was disabled, enable it and then clear all types of caches including plugin, server, browser, and CDN caches.
4. After performing these steps, check if the hreflang tags are restored on your website.
Please note that this solution might be irrelevant if it's outdated or not applicable to your 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. If the issue persists, please open a new support ticket.
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.