Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & andy langton & goodroi

Message Too Old, No Replies

rel="alternate" hreflang="x" for a Region?

9:34 am on Jun 20, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 5, 2002
votes: 2

Here is a site that targets the entire Middle East region. It is in English and the content is significantly same as its parent site. rel="alternate" hreflang="x" targets by country/language. AFAIK there isn't a region code nor a sub-country code.

Is writing the rel="alternate" annotations for all the countries in the Middle East an option?
12:01 pm on June 20, 2013 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 61

hreflang="x" targets by country/language

http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077 [support.google.com]:
hreflang supported values
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.

while there isn't a "middle east" region code, you could do something like this:

<link rel=”alternate” href=”http://example.com/en-middle-east” hreflang=”en-ae” />
<link rel=”alternate” href=”http://example.com/en-middle-east” hreflang=”en-kw” />
<link rel=”alternate” href=”http://example.com/en-middle-east” hreflang=”en-sa” />