top of page
  • Writer's pictureBrent Payne

Has conflicting outgoing hreflang annotations

It has been detected that the current webpage includes hreflang attributes that point to the same referenced URL but with discrepancies in language or regional targeting, indicating a clash in the annotations.

Why is this important?

When search engines crawl a site, they interpret hreflang tags as directives for indexing content in multiple languages. If an English language page points to a French version using hreflang, it is signaling the search engine to index both the English and French variations as parallels in their individual languages.

An issue arises if the English webpage references the same French URL multiple times within hreflang attributes, yet with different language codes, such as for German. This inconsistency leaves search engines puzzled as to whether the alternate is French or German, leading them to disregard the hreflang data altogether.

What does the Optimization check?

This Optimization activates for URLs that have several conflicting hreflang annotations targeting the identical destination URL with inconsistencies among those annotations.

Observation: This issue bears resemblance to a related scenario captured by the Optimization titled 'Has conflicting incoming hreflang annotations'. The distinction is that the current Optimization scrutinizes pages with outgoing annotations, while the other focuses on the destination pages of hreflang links.

Examples that trigger this Optimization:

Take into account the following webpage address:

A conflicting hreflang situation for this address would appear as follows:

<link rel="alternate" href="" hreflang="fr-fr" /><link rel="alternate" href="" hreflang="de-de" />

How do you resolve this issue?

To tackle this, ascertain that each URL is cited once only as an alternate in hreflang annotations. Identify the erroneous hreflang and correct it manually by updating the URLs, or by fixing the script generating them.

In the end, your goal should be to ensure that every hreflang URL has a single, accurate hreflang annotation associated with it.

0 views0 comments

Recent Posts

See All

The skip-link target should exist and be focusable

At Loud Interactive, we're committed to ensuring that digital accessibility is at the forefront of website design and development. During our SEO audits, we look for and attempt to identify an area of

Timed meta refresh must not exist

At Loud Interactive, we regularly perform a SEO audits. We often stumble upon an important issue that could significantly impact user experience and accessibility on websites. We're talking about the

bottom of page