Href lang tag - do I need it?
-
Hey Guys!
I have a multi-lingual site in Switzerland serving french and german content.
URL structure looks like this:
homepage (main) http://www.exmaple.ch/
German http://www.exmaple.ch/de/
French http://www.exmaple.ch/fr/
You can choose a drop down on every page to convert the page into french or german. So there are basically two seperate sites, URL's do not cross over i.e. I have no french pages linking to german pages, it is all pretty good. The default language is german.
I have checked in Google.ch/ in both languages french and german for which pages are being served up and they seem all relevant, i.e. on french browser settings when I go to google.ch I see french pages being served and vice versa.
My question....Do I need href lang tags?
Cheers all!
-
Hi Gianluca,
Is that only if your site utilizes sub-domains or would it be the same if you utilize a sub-folder structure?
-
Kayleigh,
I would love to. I have 2 languages that are spoken in numerous countries around the world, on the same domain so I will definitely let you know what I am able to find out.
I will also take @Gianluca's advise and implement on the home page for the brand.
-
Hi!
I don't have any posts on it, it's just from my experience working on international SEO, as Gianluca says.
-
Hi,
I don't have a specific document to show you, but that statement is consequence of mine and many others international SEO experience.
Moreover, Google quit every mention of the contemporary use of the hreflang and the canonical tag from the helps pages about hreflang.
-
Thanks Guys, that's helpful!
@Brooke when you have implemented the tags across the sites can you share if anything has noticeably changed? Would be interesting to know.
@Ariel why would Google present non-matching sitelinks? I don't understand why it would do that? There are posts on it that I could read?
@Gianluca regarding your recommendation '...use the hreflang only on URLs that are canonical and not in canonicalized one. Contemporary usage of hreflang and rel="canonical" is not recommended.' Do you have a publication about this that I could read so I can understand the principal of it a little better? Would really help me understand how Google 'thinks'.
Thanks all for your input! Much appreciated.
-
Hi Keyleigh,
in a case like your, when you are targeting audiences using different languages, to use the hreflang is not an obligation, because you are giving Google enough language targeting signals already.
However, as Ariel wrote in his answer, I suggest to use at least for the home page and for those pages that usually are shown in the SERPs for brand name queries (the home page, for instance, but it could be also the about us page).
In fact, apart the potential sitelink issue, for the brand name search, Google could decide to show the "home page" with the highest authority, and not necessarily the one in the language corresponding to the users.
Said that, Google suggests using the hreflang practically always, hence - if it is not a complication - I would implement it.
One recommendation, though, use the hreflang only on URLs that are canonical and not in canonicalized one. Contemporary usage of hreflang and rel="canonical" is not recommended.
-
Thanks Brooke for sharing my post here on Moz.
90% of what I wrote is still valid, but the hreflang part, because in that moment Google was suggesting to use cross-domain canonical in case two or more pages were serving the same content in the same language in combination with the hreflang annotation, and to do so in order to avoid duplicated content issues.
After 3 years that suggestion is not valid anymore, mostly because of Google itself, which recognized it said a very stupid thing.
So, right now, if you have two or more websites serving the same content in the same language, but targeting users in different countries (eg.: domain.com for USA, domain.co.uk for UK and domain.ie for Ireland), then you should only use the hreflang annotations, because they are enough for alerting Google to not consider those pages as traditional duplicated content.
(note to myself: I need to ask to update that post)
-
Hi!
I managed several sites that were multilingual and aimed at people from different countries. At first, I didn't put hreflang and people used to see the correct website according to their language and country.
BUT (there's always a but), for example, when people googled the brand name + something, the websites appeared in SERPs with sitelinks, and the sitelinks didn't match the correct language/location.
So, if it isn't much trouble, I would suggest putting hreflang tags, to be sure (kind of) that you won't get into problems like the one I had.
Best wishes Ariel
-
Howdy,
I have not implemented the href tags and I am having similar results, however I have started to see that change a little in traffic so I am going to start the implementation of the tags across the sites.
My situation might be a little different though because I have 30 sites in different countries but there is this article from Gianluca that I have found extremely helpful: https://moz.com/blog/international-seo-dropping-the-information-dust
It is an older post but I still find it very helpful as to the best practices and things to consider when running international websites.
Hope this helps. - Brooke
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
-
href lang questions - please help
Hi I have a few questions about href lang implementation and I was hoping for some guidance / opinions. An international website is using mostly a folder structure, but for some locations it might have standalone sub-domains. Some folders are there to target locations and languages, with others just targeting languages. See the list below: domain.com/es-mx [Language: Spanish - Location: Mexico]
International SEO | | MarkCanning
domain.com/pt-br [Language: Portuguese - Location: Brazil]
domain.com/ja-jp [Language: Japanese - Location: Japan]
domain.com/en-jp [Language: English - Location: Japan]
domain.com/fr-ca [Language: French - Location: Canada]
domain.com/en-ca [Language: English - Location: Canada]
domain.com/en-ie [Language: English - Location: Ireland]
domain.com/ar [Language: Arabic]
domain.com/ph [Language: Tagalog]
domain.com/it [Language: Italian]
domain.com/tr [Language: Turkish]
domain.com/kr [Language: Korean]
domain.com/fr [Language: French]
domain.com/ru [Language: Russian]
domain.com/vn [Language: Vietnamese] domain.in/en [Language: English - Location Indian]
domain.in/hi [Language: Hindi - Location Indian] My questions are: Is href lang sitemap equally as good as the href lang meta tag in terms of effectiveness. I know that the sitemap is easier to maintain and upkeep but i don't know which one is better as google recommends both. How do you mix your listings when some are targeting language and country and others are just targeting language speakers (not tied to any specific country). So take for example in the list above: there would be a general site for french speakers and then one for french speakers in Canada. Thanks for your advise in advance.0 -
Empty href lang
Our site is a multilingual , and its our structure for different lang : for en :domain.com/myPost for Arabic : domain.com/ar/myPost and most of the page and post in main site , have Arabic version also. and we want to generate href lang tag for all pages and posts.(for both language) and its my problem ; if i have a post or page in main site( English ), but the Arabic version not published yet and the href lang in English site pointed to the arabic url page (the page that doesn't exist yet) {arabic version almost will publish after 4-5 days } is it harmful for our SEO ? that href lang point to the URL that doesnt exist?
International SEO | | alishb13730 -
Hreflang tags and canonical tags - might be causing indexing and duplicate content issues
Hi, Let's say I have a site located at https://www.example.com, and also have subdirectories setup for different languages. For example: https://www.example.com/es_ES/ https://www.example.com/fr_FR/ https://www.example.com/it_IT/ My Spanish version currently has the following hreflang tags and canonical tag implemented: My robots.txt file is blocking all of my language subdirectories. For example: User-agent:* Disallow: /es_ES/ Disallow: /fr_FR/ Disallow: /it_IT/ This setup doesn't seem right. I don't think I should be blocking the language-specific subdirectories via robots.txt What are your thoughts? Does my hreflang tag and canonical tag implementation look correct to you? Should I be doing this differently? I would greatly appreciate your feedback and/or suggestions.
International SEO | | Avid_Demand0 -
XML Href Lang Setup
Hi, currently I have created an XML Href Lang site map for the main .com website. Lets call it projectx.com in this XML href lang file I have indicated that there is also a projectx.co.uk version of the site. Question: Would the XML HREF LANG sitemap file be uploaded to the root of the main projectx.com only? or would another version need to be uploaded to the projectx.co.uk root too? Thanks in advance!
International SEO | | Iannaude0 -
Search Console Hreflang-Tag Error "missing return tag": No explanation
Hey there, we have recently implemented hreflang on the sitemap level for our global website. The website has 57 sitemaps that are all referenced in a sitemap index file (www.buschvacuum.com/sitemap.xml). Google is showing several errors in search console ("Sitemap provided URLs and alternate URLs in 'en-AU' that do not have return tags."). However when I try to verify this I do find the return tags. Can this be caused by the fact that my hreflang tags span several sitemap files? To pick one random example (see screenshot for search console error message):
International SEO | | Online-Marketing-Guy
The Originating URL-hreflang-Tag is in www.buschvacuum.com/sitemap_3.xml, the return tag is in www.buschvacuum.com/sitemap_4.xml. It would be great if someone with experience regarding those errors could help me explaining that behavior. Thanks a lot. Jochen WXYQoUH.png0 -
Are my hreflang and canonical link tags set correctly?
Currently we have a website in english but over time we will roll out parts of the whole site in different languages for different countries which will also result in country specific English versions of the website. The goal is that Google shows the country specific version of a page in a native language or English if available or falls back to the default English version of the same page otherwise. I listed below how we plan to use hreflang and canonical link tags to achieve this and was hoping to get some feedback from the Moz community if this will work as expected. (1) A page (www.mysite.com/page1) exists only in English as default. Users should be able to find it in every country unless there is an English version specifically for this country. We would use the following tags: (2) A page exists in English (www.mysite.com/id/en/page2) and Bahasa (www.mysite.com/id/id/page2) for a specific country (Indonesia in this case). Users in Indonesia searching in English should find the country specific English page. Indonesians searching in Bahasa should find the Bahasa version of that page. We would use the following tags on the English version: and therefor the following tags on the Bahasa version: In this case there wouldn't be a default English version available for the page. (3) If a page exists in English global, English for Indonesians and Bahasa for Indonesians we would use: on www.mysite.com/id/en/page3 on www.mysite.com/id/id/page3 on www.mysite.com/page3 If www.mysite.com/id/en/page3 and www.mysite.com/page3 are very similar we would risk google picking the page they want to rank for an english keyword searched in Indonesia, correct? (4) If a page in (1) and (2) can be reached with a different URL, we would only use a canonical and don't specify any hreflang tags e.g.: www.mysite.com/en/other-url-to-page1 or
International SEO | | ddspg
www.mysite.com/id/en/other-url-to-page2-english-indonesia (5) If a page that exists as global English page becomes available in English for a specific country as e.g. www.mysite.com/uk/en/page1 we would use the following tags: and also add one more hreflang to www.mysite.com/page1: The assumption here is that Google would rank the localized page instead of the global page after crawling our site again. But since this will be a new page, are we going to lose traffic because www.mysite.com/uk/en/page1 won't rank as well in the beginning (e.g. no offsite optimization)?0 -
What is the proper way to setup hreflang tags on my English and Spanish site?
I have a full English website at http://www.example.com and I have a Spanish version of the website at http://spanish.example.com but only about half of the English pages were translated and exist on the Spanish site. Should I just add a sitemap to both sites with hreflang tags that point to the correct version of the page? Is this a proper way to set this up? I was going to repeat this same process for all of the applicable URLs that exist on both versions of the website (English and Spanish). Is it okay to have hreflang="es" or do I need to have a country code attached as well? There are many Spanish speaking countries and I don't know if I need to list them all out. For example hreflang="es-bo" (Bolivia), hreflang="es-cl" (Chile), hreflang="es-co" (Columbia), etc... Sitemap example for English website URL:
International SEO | | peteboyd
<url><loc>http://www.example.com/</loc></url> Sitemap example for Spanish website URL:
<url><loc>http://spanish.example.com/</loc></url> Thanks in advance for your feedback and help!0 -
UK based people Need your help
I'm aware that this is not SEO related, but bare with me: Launching a new business venture and need some advise. the site will be located in the UK (for legal reasons) and since I have no experience with UK webhosts. I kinda need your help on selecting a good webhost. Money is not importants but what is: - excellent up times unlimited bandwidth So if you could share your experiences it would be much appreciated. thx in advance 🙂
International SEO | | ReneReinholdt0