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
-
Hreflang problem?
Hello, We do have a client with a site in multiple versions (one domain per country). French and Spanish versions work really fine, but the problem comes up with the .com and .co.uk versions. This is my hreflang piece of code: When I go to Google.co.uk and search the exact match domain keyword "how much cost an app", I only find the howmuchcostanapp.com domain (1st or 2nd page) instead of howmuchcostanapp.co.uk. The UK one is not appearing! This is very strange. I have spent a lot of time trying to solve this, but I don't know what else to do. Thanks a lot in advance for your comments and help!
International SEO | | Yeeply.com0 -
Footer pages on international sites
Hi guys, i have a question about footer indexed pages like about us, frequently questions, press or ads with us, among others. I'd like to put the same page in our website of .com.mx but i don't know how because i think it will be duplicate content. should i create new content for these pages? Thanks, J
International SEO | | pompero990 -
Multi Regional Website Best Practices
Hi there, I have a website that is targeting 3 countries AU/US & NZ. I have set up hreflang tags for each page on each of the site however I am having difficulties getting it work right. I read this article which was a great insight into the hreflang tags. https://moz.com/blog/hreflang-behaviour-insights and as a result I have implemented hreflang tags in the following manner: When users access the root domain http://[website] it will redirect the user to their locale with a 302 redirect. I have a few questions:
International SEO | | nathanfranklin
1. When building my external link profiles, I'm not sure if I should be building link profiles for http://[website]/ or for the geo graphical pages (http://[website]/aus/ etc..). Note that the http://[website]/ is never used, it just issues a 302 to the actual geographical location. 2. It seems that the hreflang tags are not working correctly. Perhaps its the result of the 302 on the root page, but in google.com.au (using the link http://www.google.com.au/search?hl=en&gl=au&pws=0&q=[branded search]) I would expect that I should see the search results for /aus/ given the fact that the hreflang tags are setup as en-au. Instead I am seeing the root domain page. Is that correct or should it be showing all the pages with /aus/. ALSO If I do a search in google thailand (http://www.google.com.au/search?hl=en&gl=th&pws=0&q=[branded search]) it returns the /aus/ version where it should be showing the /us/ using the x-default hreflang tag. In google webmaster tools I have setup 4 site profiles:
http://[website]/
http://[website]/us/
http://[website]/aus/ (Targeted to Australia)
http://[website]/nz/ (Targeted to New Zealand) Any help would be appreciated. Thanks Nathan1 -
Website Migration
Are there any SEO issues with fdmgroup.com that I should address? We recently migrated to a new website redesign. Thanks.
International SEO | | fdmgroup0 -
Hreflang hindering performance?
I want to add hreflang on my website but the dev guys think it will hinder performance? Any thoughts/experience with this one way or the other? Thanks!
International SEO | | theLotter0 -
International SEO Question with regards to Sub Folders in Webmaster Tools
So, we have a website in 18 or so different languages. bluewidgets.com/br bluewidgets.com/cn etc I have added each sub folder in Google Webmaster Tools and 'pointed' them to be at their respective geographic specific. However, the United States version of the website is sitting on the root domain. Is there any issue with me pointing the root domain at United States Google, considering there are 18 sub folders already pointed at different regions?
International SEO | | LukeyJamo0 -
Website Internal Search
Hi I'm looking for ‘location search’ functionality to cover an extensive range of global locations to help increase the visibility I have been looking to use Google Places functionality, which has an extremely broad list of locations Would anyone have any experience in using Google places to power their websites internal search as well as if there is a cost to integrate it and other factors to be aware of? Thanks Simon
International SEO | | simonsw0 -
Multilingual newspaper website
Hello all. This is my first post to seomoz. My group is in the process of creating a website for a newspaper client which will have stories in two languages Spanish and English. Basically visitors will receive the Spanish version and have an option to read the story in english. I have never optimized a website for multi-languages/foreign languages. The newspaper is located in the USA so I'm not sure how this is going to work, which is were you come in. They would like to show up in both Google.com and Spanish versions of Google. My questions are: Do I need to worry about ranking for both versions? How should I go about optimizing the website for multiple languages? How do I need to configure my pages to be indexed so duplication is not an issue? (Canonical URL Tag?) Do I need to use special tags besides the news Google news tags for index, etc? I have more questions but as you can see I'm looking for a starting point on how I should apply my knowledge of english only websites to a website that has the same content just in different languages. Any help is appreciated. Thanks.
International SEO | | cubictulsa0