homepage Welcome to WebmasterWorld Guest from 54.197.147.90
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

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




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

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?

 

phranque




msg:4586054
 12:01 pm on Jun 20, 2013 (gmt 0)

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” />

etc...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved