If you open the view for your HREF XML account and it is full of red rows it is due to the tool not being able to detect the country or language.   


For example, a common problem when we cannot understand what your site settings are.  If you choose a syntax of www.mysite.com/us/en/ but your Arabic site only uses /ar we will be confused as this does not match the syntax.  

Another error, would be if you set the format of www.mysite.com/ar/page.html and you use the syntax of country then the tool would generate an error for www.mysite.com/sv/ as that is a language setting and not a country setting.   Similarly, the confusion between /ar being a country Argentina or the Language Arabic.


If you had set this as a country in which case/ar was for Argentina, we do not know of the site is in Spanish or English.  So you would need to tell is which it is so we would give you an error to select which country it is.  


country_language_not_detected.jpg


To set the country or language simply click Edit File to bring up the entry for this source file.   Click the Country Language selector and scroll to find "Global Arabic"  this is will create the HREFLang entry <link rel=”alternate” hreflang=”ar” href=”http://www.example.com/ar/” />




Click the Country Language selector and scroll or type "Argentina" to find "Argentina"  if the site is for Argentina but in English choose Argentina English this is will create the HREFLang entry <link rel=”alternate” hreflang=”en-AR” href=”http://www.example.com/ar/” />

If the site is for Argentina and in Spanish, select Argentina Spanish this is will create the HREFLang entry <link rel=”alternate” hreflang=”es-AR” href=”http://www.example.com/ar/” />