Hreflang
Commonly known as one of the most complex areas of technical SEO, hreflang tags are used to inform search engines of different country and language versions of a site. There are a lot of complex factors to consider to ensure the correct implementation of these tags and our SEO Office Hours notes cover many real-world scenarios and Google’s recommended course of action.
For more on international website optimization, check out our further resources:
The Ultimate Guide to International SEO
An SEO’s Guide to Hreflang Tags
The Challenges of Website Internationalization for Users & Search Engines
The Most Common Mistakes in International SEO
Only One Version of Same Content On Different Country Sites will be Indexed & Appear in GSC Performance Reports
If you have the same content on multiple language variation sites, Google will pick one to index but will use hreflang attributes to swap out versions of the page based on a user’s location. However, only the page that has been chosen to be indexed, and used as the canonical, will be displayed in the GSC performance report.
Hreflang Can be Implemented on Small Groups of Pages
If you’re only seeing issues with how your homepage is being displayed, then you can add hreflang to that page. You don’t have to implement hreflang across large sections of the site.
Hreflang Not Necessary For Non-Canonical Pages
It isn’t necessary to implement hreflang on the non-canonical version of a page because it won’t be shown in search, therefore any hreflang annotation won’t be used by Google.
Google Can Process Hreflang Tags Regardless of How They’re Implemented
It doesn’t matter to Google whether you implement hreflang tags in the HTML, in the HTTP header, in an XML sitemap or through a combination of these methods. Google will process the information in these tags regardless of the implementation method.
Hreflang Not Needed For All Page Types as Can Add Unnecessary Complexity
Use hreflang for pages which need to be linked between different language and country versions. Hreflang isn’t needed for all page types, like pagination and filtering, as this can add unnecessary complexity.
Use Hreflang & Canonical Tags to Handle Partially Translated Websites
John recommends using canonical tags and hreflang tags to tell Google which language version is preferred if you only have parts of a website that are translated, instead of the entire site.
Hreflang is a Minor Canonicalization Signal
Google uses hreflang as a small signal when picking the canonical version of a page, but this needs to be backed up by consistent signals provided by rel canonicals, internal linking and sitemap files.
Implement Clear Canonical Version Per Country & Hreflang Between Equivalent Canonical Versions
Don’t specify a canonical between different country versions of a page, because Google will likely only index the preferred version. John recommends having a clear canonical version per country and implementing hreflang between the canonical versions for each country.
Google May Fold Together Similar or Duplicate Hreflang Versions
Google may fold together hreflang versions of a page if the content is similar or the same, as it doesn’t make sense for both versions to be indexed.
After Indexing Google Checks to See if a More Relevant Page Can Be Swapped in
After pages are added into Google’s index, it then checks if there are any different URLs that should be swapped in because they are a better fit for the user.