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
-
Good day team.. have problem with my website i lost all ranking and lost 10x times traffic in 1 day without reason...
Good day everybody. My website is www.evilrpm.com and ii have drop in rank and traffic in 1 day without reason... still fighting with that issue .. from that moment i starts to get the errors and in search console if i make testing pages .. after test they can show like warning or error page but in console its green.. i was check everything, and i think that problem in server.. because it happened when i write the truth about my experience with Shopify... this is extraordinary organization i feel like they from the starts was don't give me the way to grow... any idea what the problem? thanks for your support!
International SEO | | EvilTIGER0 -
Should Hreflang x-default be on every page of every country for an International company?
UPDATED 4/29/2019 4:33 PM I had made to many copy and pastes. Product pages are corrected Upon researching the hreflang x-default tag, I am getting some muddy results for implementation on an international company site older results say just homepage or the country selector but…. My Question/Direction going forward for the International Site I am working on: I believe I can to put x-default all the pages of every country and point it to the default language page for areas that are not covered with our current sites. Is this correct? From my internet reading, the x-default on every page is not truly necessary for Google but it will be valid implemented. My current site setup example:
International SEO | | gravymatt-se
https://www.bluewidgets.com Redirects to https://www.bluewidgets.com/us/en (functions as US/Global) Example Countries w/ code Site:- 4 countries/directories US/Global, France, Spain Would the code sample below be correct? https://www.bluewidgets.com/us/en/ (functions as US/Global) US/Global Country Homepage - https://www.bluewidgets.com/us/en/ US/Global Country Product Page(s) This would be for all products - https://www.bluewidgets.com/us/en/whizzer-5001/ http://www.bluewidgets.com/us/en (functions for France) France Country Homepage - https://www.bluewidgets.com/fr/fr/ France Country Product Page(s) This would be for all products- https://www.bluewidgets.com/es/es/whizzer-5001 http://www.bluewidgets.com/us/en (functions as Spain) Spain Country Homepage - https://www.bluewidgets.com/es/es/ Spain Country Product Page(s) This would be for all products - https://www.bluewidgets.com/es/es/whizzer-5001 Thanks for the spot check Gravy0 -
Which pages to put hreflang on?
Hi, we are running a site which is a directory consisting of numbers of phone spammers. It contains descriptions, comments and so on. We are currently present in 9 countries. The websites all have the same structure, but, of course, the spam numbers in each country are different ones. If I want to tell Google that our website is available is several locations/languages, do I only put my hreflang tag on the start page then? Thanks
International SEO | | Roverandom
Thomas0 -
Hreflang vs canonical
I'm having an international Drupal website and the hreflang module is in use. However, I'm still not sure how to optimize the pages. Perhaps it's easier to ask with an example **International: **www.example.com/products/product1
International SEO | | Teklan
Here we have the master content of the product **US: **www.example.com/us/products/product1
Here we have exactly the same content as international. Nothing is localized. **UK: **www.example.com/uk/products/product1
Here we have almost the same content as on International. Here and there some local terms and extra text. **German: **www.example.com/de/products/product1
Here we have a translated version of the international page. Questions Do I add hreflang from all to all pages + to itself? Where do I add canonicals? How should I optimize the content on the US and UK pages?0 -
Multinational website - best practice
Hello, I am researching a lot on this subject and have read several articles here on Moz and elsewhere about the best practices for multinational websites. But I'm not yet convinced on what would be the best solution in my case. Today we have the following websites (examples):
International SEO | | WebGain
website.com which function as a global website.
website.dk which is for the danish market
website.no which is for the norwegian market Some of the content on these websites are the same (but different languages; english, danish and norwegian). We want to expand the business to more countries and work with ccTLDs. Both to countries which speaks languages that we don't have content for yet (an example could be Poland), but also more countries that speaks english, like Great Britain (with a .co.uk domain) and Australia (with a .com.au domain). We expect to expand in many countries (as many as it makes sense to do). I have read a lot about the alternative hreflang tag which would look like and that seems like a good solution, but I have a couple of questions that I hope you guys can answer: Should the alternate hreflang tags show every existing language versions including the one you're on or only show the alternative versions? Do we risk penalty by having identical or almost identical content for same language websites (could be UK and the global .com one) if we use the alternate hreflang tags? I'm aware that we should use the native spellings and sentences in each country. Would the sitemap solution be better in our case? We have the same link structure for all websites, but the sub-directories can differ due to their language (like /articles/ is /artikler/ in danish) - is that an issue? Will hreflang="en" function as global english? (so searching users that we don't have a local website for will see that).0 -
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 -
Help with hreflang configuration
We currently have different country versions of our site with a hreflang configuration; we have a spanish site targeted for Spain and then different subdirectories for every latin american country we're targeting to. Other than minimal differences, at the moment they are similar until we can handle providing unique content for each country. Our goal, then, would be to show the right one for every Google version, but also to avoid penalties. Our configuration is like this: ... Do you reckon this would be the right approach? Moz is currently telling us that there's duplicate content between the different country subdirectories, and to an extent there is, does that correlate with Google penalizing us for it? Also I've seen examples of self-referential alternates (such as including the in the Mexican version), or to put the canonical referencing the primary http://www.example.com/, will any of this help to our goals? Thanks a lot!
International SEO | | doctorSIM0 -
If I redirect based on IP will Google still crawl my international sites if I implement Hreflang
We are setting up several international sites. Ideally, we wouldn't set up any redirects, but if we have to (for merchandising reasons etc) I'd like to assess what the next best option would be. A secondary option could be that we implement the redirects based on IP. However, Google then wouldn't be able to access the content for all the international sites (we're setting up 6 in total) and would only index the .com site. I'm wondering whether the Hreflang annotations would still allow Google to find the International sites? If not, that's a lot of content we are not fully benefiting from. Another option could be that we treat the Googlebot user agent differently, but this would probably be considered as cloaking by the G-Man. If there are any other options, please let me know.
International SEO | | Ben.JD0