International websites : hreflang
-
Hi,
i'm looking for good examples with 'href lang' tag (rel="alternate" hreflang="x")
Have you examples of websites with this tag?
Thanks
D.
-
Found one: freelancer.com
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en</a>" href="[http://www.freelancer.com/](view-source:http://www.freelancer.com/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-AU</a>" href="http://www.freelancer.com.au/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-NZ</a>" href="[http://www.freelancer.co.nz/](view-source:http://www.freelancer.co.nz/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-GB</a>" href="http://www.freelancer.co.uk/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-HK</a>" href="[http://www.freelancer.hk/](view-source:http://www.freelancer.hk/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-SG</a>" href="http://www.freelancer.sg/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-PH</a>" href="[http://www.freelancer.ph/](view-source:http://www.freelancer.ph/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">de</a>" href="http://www.freelancer.de/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">de-DE</a>" href="[http://www.freelancer.de/](view-source:http://www.freelancer.de/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-CA</a>" href="http://www.freelancer.ca/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-ZA</a>" href="[http://www.freelancer.co.za/](view-source:http://www.freelancer.co.za/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-IN</a>" href="http://www.freelancer.in/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-JM</a>" href="[http://www.freelancer.com.jm/](view-source:http://www.freelancer.com.jm/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es</a>" href="http://www.freelancer.com.es/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es-ES</a>" href="[http://www.freelancer.com.es/](view-source:http://www.freelancer.com.es/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es-MX</a>" href="http://www.freelancer.mx/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es-PE</a>" href="[http://www.freelancer.com.pe/](view-source:http://www.freelancer.com.pe/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es-EC</a>" href="http://www.freelancer.ec/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es-CL</a>" href="[http://www.freelancer.cl/](view-source:http://www.freelancer.cl/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-PK</a>" href="http://www.freelancer.pk/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">id</a>" href="[http://www.freelancer.co.id/](view-source:http://www.freelancer.co.id/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">id-ID</a>" href="http://www.freelancer.co.id/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">en-BD</a>" href="[http://www.freelancer.com.bd/](view-source:http://www.freelancer.com.bd/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">es-UY</a>" href="http://www.freelancer.uy/" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">pt</a>" href="[http://www.freelancer.pt/](view-source:http://www.freelancer.pt/)" />
<link rel="<a class="attribute-value">alternate</a>" hreflang="<a class="attribute-value">pt-PT</a>" href="http://www.freelancer.pt/" />
-
What is weird is that Wikipedia doesn't use it and still ranks 1st for almost every keyword while having alternates in almost every language for every page.
-
Hello,
The hreflang attribute is used with the link element to provide an alternative page in another language.
The simplest way of using it is to be adding a link to the header of your page to give them alternative urls to the same content in another language.Here is a list of language attributes you can use http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table
You should read google's webmasters tip regarding this topic to get a better understanding: https://support.google.com/webmasters/answer/189077?hl=en.
I actually couldn't find any sites right now that use this technique.
--
Jørgen Juel
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
International corporate SEO - menu and preferences
Hi all, for internationalization we have used subfolders structure (e.g. domain.com/us/) and since we have approx 150 countries to cover, then country selector is quite a link-base, especially if pages itself can have even several hundreds of internal links as well. Currently, all links to other countries are set as rel="nofollow" and I'm planning to change them to "follow" to distribute a juice. Do you please have an experience with such internal links voluminous websites and this follow/nofollow settings? Also we are having and issue with other countries outperforming local search. So for example in US, searching for kind of "Brand America" keyword, our UK branch outperforms US. Hreflangs are set in the sitemaps and each branch (country) is set in search console correctly as well. Since there are some issues with sitemaps (e.g. not actual links, or links returning 404), I assume that google is not using these sitemaps therefore hreflang information is lost as well. Am I correct ? thank you in advance, Tom
International SEO | | execom990 -
International SEO errors
Hello, In a muddle here. A website has a .co.uk and a .com version. They want to target the UK market and the USA market respectively. The content for the UK version has been localised for the UK audience (e.g. spellings etc) but the content is the same in both sites. There are errors in .co.uk version in webmaster tools : International Targeting | Language > 'en' - no return tags__URLs for your site and alternate URLs in 'en' that do not have return tags.**Q 1) What does this mean?**I can see that both the .com and .co.uk version has only this in place:**2) Should they actually have respectively?**3) Do they also need rel=canonical from the .co.uk to the .comAny help would be appreciated.
International SEO | | AL123al0 -
Google Webmaster showing error for [hreflang='x-default']
Hi There! Using [hreflang='x-default'] tag to target language specific countries on our site but Google Webmaster showing errors even implementation made as per Google guideline but one thing is not clear and we are not sure, this is the reason behind it. Error is showing up only on those pages where 'Google Parameters' are used. For example : https://www.sitegeek.com/a2hosting?grank=open 'grank=' is defined as a 'Google Parameters' and on the above page 'hreflang' tags are : Also, on page https://www.sitegeek.com/a2hosting [without Google Parameters] same above 'hreflang' tags are taken. But, There is no error on second page URL where no 'Google Parameters' in URL. Therefore, error showing on first URL where 'Google Parameters' are taken. Is this the issue or not? suggest how to remove? -- Rajiv S9vhl3T
International SEO | | gamesecure0 -
International SEO Subfolders / user journey etc
Hi According to all the resources i can find on Moz and elsewhere re int seo, say in the context of having duplicate versions of US & UK site, its best to have subfolders i.e. domain.com/en-gb/ & domain.com/en-us/ however when it comes to the user journey and promoting web address seems a bit weird to say visit us at: domain.com/en-us/ !? And what happens if someone just enters in domain.com from the US or UK ? My client wants to use an IP sniffer but i've read thats bad practice and should employ above style country/language code instead, but i'm confused about both the user journey and experience in the case of multiple sub folders. Any advice much appreciated ? Cheers Dan
International SEO | | Dan-Lawrence0 -
Best URL structure for Multinational/Multilingual websites
Hi I am wondering what the best URL format to use is when a website targets several countries, in several languages. (without owning the local domains, only a .com, and ideally to use sub-folders rather than sub-domains.) As an example, to target a hotel in Sweden (Google.se) are there any MUST-HAVE indicators in the URL to target the relevant countries? Such as hotelsite.com**/se/**hotel-name. Would this represent the language? Or is it the location of the product? To clarify a bit, I would like to target around 10 countries, with the product pages each having 2 languages (the local language + english). I'm considering using the following format: hotelsite.com/en/hotel-name (for english) and hotelsite.com/se/hotel-name (for swedish content of that same product) and then using rel=”alternate” hreflang=”se-SV” markup to target the /se/ page for Sweden (Google.se) and rel=”alternate” hreflang=”en” for UK? And to also geotarget those in Webmaster tools using those /se/ folders etc. Would this be sufficient? Or does there need to be an indicator of both the location, AND the language in the URLs? I mean would the URL's need to be hotelsite.com/se/hotel-name/se-SV (for swedish) or can it just be hotelsite.com/se/hotel-name? Any thoughts on best practice would be greatly appreciated.
International SEO | | pikka0 -
International SEO: best practices for local variants of the same language?
We are translating our site into 17 different languages, including local variants of the same language (i.e. Mexican Spanish and Spain Spanish, Canadian English and British English, etc). Should we add all of these local variants to our site? We don't have the marketing / link building budget (or business need) to put these all on separate ccTLDs, so we are using country-specific subfolders instead (example.com/es/). The translations will be of exceptional quality. Our main goal is to pull in some additional traffic from these translations. If we add these local variants, do you think we can expect to see traffic from these different countries (additional traffic from Canada, England, etc)? Any advice / input would be appreciated.
International SEO | | nicole.healthline0 -
Links metrics & rel="alternate" hreflang="x"
Bonjour! If with rel="alternate" hreflang="x" we can indicate to Google that an URL have translated equivalents of a page, are the links metrics splited between all pages or Google considers all the pages as only one? Thanks! Maxime
International SEO | | Maxoulala0 -
Website Translation
Hi All, I know its not an SEO question, but....................... Can anyone suggest a few good website translation "widgets" I would like to give those who are not fluent in English and option to choose another language in which to view the page text. Thank You!!!
International SEO | | APICDA0