Importing Multiple Excel/CSV Source Files
August 6, 2018
Duplicate URL’s used in HREFLang Elements
August 10, 2018

Understand the HREFLang Checker Results page

Search Knowledge Base by Keyword

The following is a key to the results page from your test of a page:

1. URL Tested – This is the URL that is being teste

2. Count of HREFLang Tags – The count of the number of individual HREFLang element tags on the page.  HREFLang Checker goes to the web page and specifically looks for in the <head> for a string that looks like the one below:  Note.  This number should be the same for all alternate pages and “should” represent the number of country versions you have on your site. 

<link rel=”alternate” hreflang=”en-US” href=””/>

<link rel=”alternate” hreflang=”en-IE” href=””/>

<link rel=”alternate” hreflang=”en-GB” href=””/>
<link rel=”alternate” hreflang=”es” href=””/>
<link rel=”alternate” hreflang=”en-ZA” href=””/>
<link rel=”alternate” hreflang=”en-KE” href=””/>
<link rel=”alternate” hreflang=”ja” href=””/>
<link rel=”alternate” hreflang=”it” href=””/>

3. Confirmation the URL is self-referencing –  The page needs to have and HREFLang Element that has its own URL listed.  For example, the URL I am testing is there must be a HREFLang line in the page that has this same URL.   Looking at the HREFLang elements above, you see the bold string is my test URL.  In this case it IS self-referencing.  It this string was missing you would receive an error.   To learn how to fix a non-self-referencing URL review our FAQ.

4.  Status – This is our internal symbol for showing whether validation against that HREFLang is correct or not. We have three cases.

5.  HREFLang Value – It is the value of HREFlang tag coming from the page.

For example, this first entry is for the Bulgaria site and since it is in the Bulgarian language they are using the “bg” ISO code for the language.   In the second example, the element is for German specifically for Germany.

<link rel=”alternate” hreflang=”bg” href=””/>

<link rel=”alternate” hreflang=”de-DE” href=””/>

<link rel=”alternate” hreflang=”en-IE” href=””/>


6.  Language – This is the language associated with that ISO Language code in the HREFLang Element.   As many people don’t know what these codes are we translate the code to the actual language.  Note, in item 11, we show the result from the actual text syntax check where we detect the language.  If you have any questions on the language codes or any errors in this element please review “Setting Correct Language Codes FAQ.
7.  Region – This is the region that has been set for the element.  Note:  HREFLang is a “language” setting, not a country setting.  You can however set which country this language is for.  For example, English is spoken in the US, Ireland and the United Kingdom but there are variances.  By adding “IE” as the region, Search Engines will assign this page to Ireland.

8.  Source – this is the source code from the page.  Saves you from having to go to the page and viewing the source.

9.  Alternate URL – this is the URL listed in this HREFLang element.  We are looking to make sure that it matches the original testing URL as well as use it to do a test on itself to make sure it is a value URL.

10.  URL Header Response/Status Code –  when we visited the page, this is the header status code of the page.  The expected response is 200.  If any response other than 200 is returned we note it and will give an error.  If you have questions about the different status codes please visit HTTP Header Status Codes FAQ

11.  Detected language – this field indicates the language we detected from the content in the page.  This is a double checked in case the page is in English that it is not set to a local language.  Using the same entries above, one is set to Bulgarian and the other to German and both match the detected language.

12.  # of Tags – this is a count to ensure the number of tags on this page matches the other page.  For HREFLang to work, each page needs to be referenced as an alternate on the other.  If we have 23 tags on the home page then each page referenced from the home page should have 23.

13.  Return Tag(s) This return tag is a capture of all of the hreflang tags on the site.


14.  Notes – This is notes field, where we are showing all warnings and errors for each hreflang tag. For example, whether the page is connected and language/region, etc are correct or not.