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
-
Multi National Company that Doesn't Want to Implement International SEO
I have got an interesting situation where I have a client who wants to merge two ccTLD's into one. They currently have .fi and .com and they want to merge both sites to .com .fi is for finland and .com for USA. They want to merge the sites and the original plan was to use subfolders for each country and pair with hreflang. However the team now wants to merge both sites with NO subfolders differentiating between finland or the US. My understanding of International SEO that this is the most opposite from best practices, but is there any specific reasons why they wouldn't want to do this? I'm struggling to find any specific reasons that I can cite to the client that would argue why we should at least do a subfolder or some sort of international seo strategy.
International SEO | | JKhoo1 -
Redirect entire website or not?
I have 2 websites: a UK health blog covering a wide range of topics (professional medical advice, diets, mental health), core business, strong brand, content ranks well, lots of valuable traffic, only 100 external links but all of good quality. We also sell some of our UK consultancy services on the site. small niche blog just covering fitness, every page has robots=noindex, 100x more traffic, 100% of traffic is from 500,000 external links on other websites talking about fitness matters (these range from spam to medium quality) , 95% of traffic is from countries we cannot serve, probably only 1% of the remaining 5% of traffic would be considered our target market, but the main concern is that the content is very out of date and should anyone see, it would be damaging to the UK health blog My dilemma is what do we do with the fitness website to make most business use, while ensuring little maintenance? Suggestions have been: Keep fitness blog running but make very basic content updates and remove robots=noindex Redirect fitness website urls to appropriate pages on UK health website We are on the verge of choosing option 2 but I have some SEO concerns about the impact of the redirects on the UK health website. Due to the volume of external links which mostly all reference 'fitness', is there any risk through redirects that Google might start thinking the UK health website is just about fitness? If so, is there any way to prevent this through certain redirects eg 307? Also with the fitness website having some spam related external links, is there any risk to the UK health website if these aren't disavowed before redirects are setup? If so, on which website should these be done? Thanks!
International SEO | | tah061 -
International Market
Hello Moz friends, I am new to the tool and I was wondering if anybody has a best practice for international markets. I used to work with a different tool before and handling international markets has definitely been a challenge for it. What is the best way to set up campaigns/ keyword lists? By country? By topic? How helpful is the keyword explorer and reporting for international markets? I really appreciate your help.
International SEO | | LisaGerecht0 -
When should hreflang be deployed in this situation; now or later ?
HiI have a question in regard to point 1 in Gianluca Fiorelli first comment on Aleyda Solis old but great international targeting article in regard to hreflang: https://moz.com/blog/using-the-correct-hreflang-tag-a-new-generator-toolit would obvs be amazing if either Gianlucca or Aleyda can answer but if anyone else feels they can do so confidently then that would be great too :)I'm advising someone in similar situation as that (their main brand is USA based on a .com showing up in UK searches too) and they have launched .co.uk sites (without any seo) to target UK brand searches, so obviously the .com is still dominating UK serps for brand, and the .co.uk is ranking on page 4 on average for a brand search.**BUT **before I tell them to roll out hreflang shouldn't they build up some authority etc first for their new country specific (.co.uk) site ? since they are very new and have no authority or even basic SEO and don't rank higher than page 4 for brand searches (the .com is in no1 in both usa and uk).I know hreflang needs to be used correctly here but im not sure when it should be, now or later (after authority has built up for the new uk focused sites) ?In other words I take it deploying the hreflang correctly wont simply cause these home pages to swap positions for brand search in uk (or will it) ? Im worried deploying it immediately could actually destroy the brands current page 1 serps for brand term (since will remove the .com page from the uk serp).Hence i take it its best to build up the new .co.uk sites seo/authority etc first and at least get that sites brand ranking moving up the listings before deploying hreflang on the .com, to then hopefully remove the .com listing in place of the .co.uk for brand ?OR is Gianlucca saying in his comment that correct hreflang usage on both sites should swap the high authority .com no1 position with the low authority .co.uk for a brand search ?Many ThanksDan
International SEO | | Dan-Lawrence0 -
International URL paths
Wanted to ask everyone a questions: So our company is going to be doing a website that is going to be full of videos. The url path will be country.domain.com/language/slug/content-id. We redirect the user when they go to the different country. So if you're in spain on a train to france your URL will change from es.domain.com/es/slug/content-id to fr.domain.com/es/slug/content-id. Each country can listen to each video in all languages. My question is with hreflang tags and canonicals. Aside from targeting users in a certain country via Google Search Console, how do I eliminate duplication and tell Google which I'd like to show up via which country. In spain I would like es.domain.com/es/slug/content-id to show in Google and would have hreflang tags on each of the es.domain pages but what about fr.domain.com/es/slug/content-id since it would show the same content? I can't canonical to one of them since I need them to show in their respective country. How do I show the difference in language and country without showing duplication?
International SEO | | mattdinbrooklyn0 -
External URLs in hreflang sitemap questions
I'm currently putting together an international sitemap for a website that has an set up like the following: example.com/us
International SEO | | Guyboz
example.com/au
example.com/ca
example.co.uk
example.se I'm planning on including the hreflang tags within sitemaps for each domain, to make sure google serves up the right version. However, I'm a bit sceptical about including the non .com domains within the .com sitemap - and the other way round for .co.uk and .se sitemaps. The way I've been doing it follows the following example: <url><loc>http://www.example.com/us/</loc></url> Putting in the .co.uk and .se domains within the .com sitemap just doesn't feel right - is this actually the right way to do it? Thanks in advance 🙂0 -
Huge spike in referral traffic from international domains
We have recently experienced a huge spike in referral traffic from .fr domains (we are in the UK). They all lead to our 404 page. Its been going on for the last 3 days, and its still happening with about 20 visitors browsing the site from these domains at any one time, staying approx 3-7 seconds and then bouncing. The top domain appears to be a parked page. We cant see any obvious links or ads coming from any of these .fr domains and they are quite irrelevant to our sites industry anyway, which leads me to believe these may not be real visitors. Any advice on what may be causing this? And how to stop it? Needless to say none of these referrals have converted.
International SEO | | Silkstream0 -
What's the best strategy for checking international rankings?
Hi There- I am looking to optimize sites serving the UK and Austrailia markets. I feel like I have a good handle on how to go about doing that, but what I am fuzzy on is, what's the best way to monitor the SERPs for the keywords I am targeting. I know based on experience that if I just search google.com.au from here in the states, my results will be 'americanized' and may/probably won't accurately reflect what someone would see if they were search from Austrailia. Are there any good tools or tactics for seeing what searchers in the countries I am focusing on woudl see? Thanks! Jason
International SEO | | phantom0