Tell us what you are trying to do? - Already translated the pages on my website. Running a Semrush audit shows 223 hreflang conflicts within page source code (see attached screenshot).
Is there any documentation that you are following? - I already looked up support questions, but unsure how to proceed.
Is there a similar example that we can see? I have attached the following screenshots to this ticket: the semrush error, the screenshot of the hreflang source code from inspecting the webpage, and the WPML plugin settings that are enabled.
What is the link to your site? hidden link
I believe this is happening because the hreflang IS Missing Self-Referencing Hreflang Annotation:
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
Thank you for contacting WPML support!
Based on the code you provided, it does not appear that there is a missing self-referencing hreflang annotation. The <link rel="alternate" hreflang="x-default" href="hidden link" /> line serves as a default hreflang annotation for users who don't have a specific language preference, and it points to the same URL as the English version (<link rel="alternate" hreflang="en" href="hidden link" />).
1. `<link rel="alternate" hreflang="en" href="hidden link" />` indicates that the page is in English and is the default language.
2. `<link rel="alternate" hreflang="fr" href="hidden link" />` indicates that there is an alternate version of the page in French.
3. `<link rel="alternate" hreflang="x-default" href="hidden link" />` sets the default language to English for users who don't have a specific language preference.
These `hreflang` annotations appear to be set up correctly, and there should not be any conflicts based on this code alone. If you're receiving reports of hreflang conflicts from SEMrush, there may be other issues on your website or in your SEO configuration that need to be investigated. Double-check that the URLs specified in the `href` attribute are valid and that your website's content and language targeting are consistent with these annotations.
Regards,
Bruno Kos
The topic ‘[Closed] 223 hreflang conflicts within page source code’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.