HREFLANG for International SEO: Lessons from 3,000 Implementations
-
Upload
themediaflow -
Category
Marketing
-
view
530 -
download
1
Transcript of HREFLANG for International SEO: Lessons from 3,000 Implementations
2012
Technical SEO agency, working in global ecommerce. Publically documented our adventures in HREFLANG sitemaps…
@NicholaStott
Today
• What HREFLANG can do
• What it can’t do
• Ways to implement
• HREFLANG sitemaps
• Most common errors
• Tips to manage and maintain
@NicholaStott
Hreflang
HTML tag to describe the language OR language AND intended region; of a web page, and alternate versions of said page in different language OR language AND region settings.
@NicholaStott
Right (intended) URL
Right (intended) index
Right (intended) customer
Language OR LANGUAGE/location
@NicholaStott
NOT
• The answer to your thin content problems
• Help you rank in new markets
• Syphon/copy PageRank from one location to another
• Replace canonical (orthogonal concepts)
@NicholaStott
In HTTP Headers
Link: <http://es.example.com/faq.pdf>; rel=“alternate”; hreflang=“es”, <http://mx.example.com/faq.pdf>; rel=“alternate”; hreflang=“es-mx”,
For non-HTML content
Link elements in <head> HTML pages
< link rel=“alternate”; href=: http://es.example.com/” hreflang=“es”/> < link rel=“alternate”; href=: http://mx.example.com/” hreflang=“es-mx”/>
Pros and cons
• Solution for non-html • Server configuration access not easy • Really simple for small suites • Not for large implementations • Impact to speed • Freq. updates - development resource
For headers and head
See: http://www.aleydasolis.com/en/international-seo-tools/hreflang-tags-generator/
Tag Generator: Aleyda Solis
XML Sitemaps
<url> <loc>http://example.com/</loc> <xhtml:link rel="alternate" hreflang="en" href="http://example.com/" /> <xhtml:link rel="alternate" hreflang=“es" href="http://es.example.com/" /> <xhtml:link rel="alternate" hreflang=“es-mx" href="http://mx.example.com/" /> </url>
For bigger implementations
X-default
• ELSE statement at the end of IF • Language selector • Can be used for generic “catch-all”
language • Or not at all IF prefer to use language
Use ISO Codes
LANG = ISO 639-1 REGION = ISO 3166-1 But… you may get away with some common errors! (en-uk)
XML Sitemaps
<url> <loc>http://example.com/</loc> <xhtml:link rel="alternate" hreflang="en" href="http://example.com/" /> <xhtml:link rel="alternate" hreflang=“es" href="http://es.example.com/" /> <xhtml:link rel="alternate" hreflang=“es-mx" href="http://mx.example.com/" /> </url>
For bigger implementations
Crawl
en en-gb es-mx http://www.themediaflow.com http://www.themediaflow.com/uk
http://mx.themediaflow.com
http://www.themediaflow.com/1
http://www.themediaflow.com/uk/1
http://mx.themediaflow.com/1
http://www.themediaflow.com/2
http://www.themediaflow.com/uk/2
http://mx.themediaflow.com/2
All sites, sub-domains, folders
Upload each sitemap to the root
• Consolidated only – single site • Specific file to each <loc> • Combination if combination of
architectures • Submit in Search console for each site