Expanding your site to new languages or country-based language variations
Maile Ohye
Developer Programs Tech Lead
Agenda
<link rel=”alternate” hreflang=”en” href=”http://www.example.com” />
Potential search issues
Searching on google.co.uk
What if there exists an equivalent URL for google.co.uk searchers? :(
Potential search issues (cont.)
Self-reflection before you start
Is your team committed to...
Ranking in one language/country
≠
Automatically ranking in a new language/country
Use case: Regional variations of the same language
Use case: Full translations (car, coche, auto!)
rel="alternate" hreflang to help Google understand your site
rel="alternate" hreflang
Several places to explain markup
<link rel="alternate" hreflang="es" href="http://es.example.com/page.html" />
HTTP/1.1 200 OK�Content-Type: text/html�Link: <http://es.example.com/>; rel="alternate"; hreflang="es"�Content-Length: 5710�(... rest of HTTP response headers...)
rel="alternate" hreflang (cont.)
<loc>http://www.example.com/deutsch/</loc>� <xhtml:link � rel="alternate"� hreflang="en"� href="http://www.example.com/english/"/>� <xhtml:link � rel="alternate"� hreflang="de"� href="http://www.example.com/deutsch/"/>
...
rel="alternate" hreflang (cont.)
<link rel="alternate" hreflang="en" href="http://en.example.com/" />
<link rel="alternate" hreflang="en-gb" href="http://en-gb.example.com/" />
rel="alternate" hreflang (cont.)
Without a general language specified (imagine you had no general “en,” only “en-gb” and “en-us”), Google will behave as before we supported the hreflang annotation (i.e., we'll try to choose one of the versions that would be relevant to the user).
rel="alternate" hreflang (cont.)
Specify x-default for pages (often homepages) that
<link rel="alternate" hreflang="x-default" href="http://www.example.com/" />
rel="alternate" hreflang (cont.)
Potential implementation at the Play store, both homepage and apps vary language based on user's IP
rel="alternate" hreflang (cont.)
rel="alternate" hreflang (cont.)
Most efficient configuration when dealing with duplicative URLs and rel=”alternate” hreflang
rel="alternate" hreflang (cont.)
Specify all alternates on each page, including the page itself (whether with on-page markup, Sitemaps, or HTTP headers)
rel="alternate" hreflang (cont.)
Can be on same or different domain (e.g., www.example.com for "en", maileohye.com for "sp")
Targeting a specific country (for sites with a gTLD)
Can still use Geographic target feature in Webmaster Tools
rel="alternate" hreflang (cont.)
May not be treated by other major search engines in the same manner.
Use case: Country-based variations of the same language
Use case: Full translations
Full translation and country-based variations
Benefit: rel="alternate" hreflang
When implemented correctly, helps search engines like Google consolidate several indexing signals.
Benefit: Helps discovery of new URLs
Benefit: More targeted URL for searchers
For searchers on google.co.uk
Yay! Appropriate localized URL!
Best practices
Shareable URLs
Each URL should be shareable: URL gives same information regardless of user’s IP or language preference
Language and region not as parameter
Use Unicode in URLs when necessary
UTF-8 encoding in the path, filenames, URL parameters:
http://example.ca/fr/vélo-de-montagne.html
becomes
http://example.ca/fr/v%C3%A9lo-de-montagne.html
Be sure to test that your entire stack (server, database, CMS, etc.) supports UTF-8.
Build your business with your new language users
Finding users in the new language who can recommend, link, and refer others to your site can help you business gain new customers.
Factor page speed
Architecture must scale to new/more users and network distances.
More Page Speed tips https://developers.google.com/speed/pagespeed/
"Site performance for webmasters" video
http://goo.gl/kqS2
Power to the user
Reference resources!
Working with multilingual sites
http://goo.gl/Nmgp
Working with multiregional sites
http://goo.gl/Fm0U
rel="alternate" hreflang
http://goo.gl/oxN0a
rel="alternate" hreflang="x-default"
http://goo.gl/WI3EI
Webmaster discussion forum for internationalization
http://goo.gl/T6IB7
Thanks!
www.google.com/webmasters