Free Webinar: Website Migrations & Redirect Mapping Dos & Don’ts Sign up now!

Dealing with International issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free
High This Hint is very important, and definitely warrants attention. Issue This Hint represents an error or problem that needs to be fixed.

Has outgoing hreflang annotations to disallowed URLs

This means that the URL in question has at least one outgoing hreflang annotation URL that is disallowed in robots.txt.

Why is this important?

Hreflang tags are interpreted by search engines as indexing instructions. An English page that has hreflang pointing at its French alternate is instructing search engines to index both the English version and the French version, and to consider each as equivalent in their respective languages.

If this French page was disallowed in robots.txt, this would stop search engines from crawling the content. Whilst this does not technically stop them from indexing the URL, it will stop them from validating hreflang return-tags (reciprocal hreflang), which is mandatory for hreflang to work properly.

What does the Hint check?

This Hint will trigger for any URL which contains hreflang annotations, where at least one of the hreflang URLs is disallowed.

Note: This Hint is very similar to another Hint: Disallowed URL has incoming hreflang. The difference being that this Hint is analysing the page with hreflang on (i.e. outgoing hreflang) whereas the other Hint is analysing the target page of a hreflang annotation (i.e. incoming hreflang).

Examples that trigger this Hint:

Consider the URL: https://example.com/page-a/

The Hint would trigger for this URL if it included an hreflang annotation:

<link rel="alternate" href="https://example.com/pages/us/page-a/" hreflang="en-us" />

where this hreflang page was disallowed in robots.txt:

robots.txt example

How do you resolve this issue?

The problem with this sort of conflicting instruction is that it is not instantly obvious which page is causing the error. Either the hreflang is wrong or the robots.txt is wrong.

Either way, the current setup will stop hreflang from working properly, so it will need to be fixed.

This starts with figuring out which is the correct hreflang URL, which may require manual inspection.

Once you have established this, it should be straightforward to work out the next step:

  • If the hreflang URL is correct, then the robots.txt is incorrect, and should be changed to remove or amend the offending rule.
  • If the hreflang URL is not correct, then the outgoing hreflang annotations should be corrected so they point to the correct URL.

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.