Google: Stick With ISO 3166-1 For Hreflang, Not 3166-2

Oct 24, 2017 - 7:46 am 0 by

google global hreflang geo

Google responded to a webmaster asking if they can use ISO 3166-2 for their hreflang files saying you should probably stick with ISO 3166-1. Google's documentation specifically says they support ISO 3166-1 and makes no mention of ISO 3166-2.

Google writes in their documentation:

The value of the hreflang attribute identifies the language (in ISO 639-1 format) and optionally the region (in ISO 3166-1 Alpha 2 format) of an alternate URL.

There is no mention of ISO 3166-2, which is why Google is telling webmasters not to use it.

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: February 4, 2025

Feb 4, 2025 - 10:00 am
Google Search Engine Optimization

Generative AI Mentions In Google's Search Quality Rater Guidelines

Feb 4, 2025 - 7:51 am
Google

Google Writing Popular Products Descriptions With Generative AI

Feb 4, 2025 - 7:41 am
Yahoo Search Engine

Yahoo Search AI Features Powered By Microsoft Copilot?

Feb 4, 2025 - 7:31 am
Google Search Engine Optimization

Google: Embedded Resources Are Cached For A While

Feb 4, 2025 - 7:21 am
Google Ads

Google Ads Prompt To Book A Tagging Appointment

Feb 4, 2025 - 7:11 am
Previous Story: Google To Share Revenue With News Publishers, Maybe 30%