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
-
Using same URL for both "en" and "en-us" hreflang tags
Hi,I have a question. Is it okay if I use the same URL for both "en" and "en-us" hreflang tags? For example, for my en-us page: Is this okay with Google? What are your thoughts on this?
International SEO | | Avid_Demand0 -
Correct Hreflang & Canonical Tags for Multi-Regional Website English Language Only having URL Parameters
Dear friends, We have a multi-regional website in English language only having the country selector on the top of each page and it adds countrycode parameters on each url. Website is built in Magento 1.8 and having 1 store with multiple store views. There is no default store set in Magento as I discussed with developer. Content is same for all the countries and only currency is changed. In navigation there are urls without url parameters but when we change store from any page it add parameters in the url for same page hence there are total 7 URLs. 6 URLs for each page (with country parameters) and 1 master url (without parameters) and making content duplicity. We have implemented hreflang tags on each page with url parameters but for canonical we have implemented master page url as per navigation without url parameters Example on this page. I think this is correct for master page but we should use URL parameters in canonical tags for each counry url too and there should be only 1 canonical tag on each country page url. Currently all the country urls are having master page canoncial tag as per the example. Please correct me if I am wrong and **in this case what has to be done for master page? **as google is indexing the pages without parameters too. We are also using GEOIP redirection for each store with country IP detection and for rest of the countries which are not listed on the website we are redirecting to USA store. Earlier it was 301 but we changed it to 302. Hreflang tags are showing errors in SEMRush due to redirection but in GWT it's OK for some pages it's showing no return tags only. Should I use **x-default tags for hreflang and country selector only on home page like this or should I remove the redirection? **However some of the website like this using redirection but header check tool doesn't show the redirection for this and for our website it shows 302 redirection. Sorry for the long post but looking for your support, please.
International SEO | | spjain810 -
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 -
Can multiple hreflang tags point to one URL? International SEO question
Moz, Hi Moz, Can multiple hreflang tags point to a single URL? For example, if I have a Canadian site (www.example.com/ca) that targets French and English speakers can I have the following: or would I use: Any insight would be very helpful and greatly appreciated! Thank you in advance!
International SEO | | DA20131 -
Do we need to update our sitemaps each time our content changes?
Dear SEO experts! We have created sites maps to get our international sub-domains indexed, however we're unsure if we have to update our sitemaps each time our content changes on our many landing pages which are translated to 17 different languages? Obviously the goal is to make it dynamic so it updates itself. I hope you can help us with some advice. Thanks a lot! Allan
International SEO | | Todoist0 -
"Hreflang=x" tag and multinational websites
Hello, We have multiple websites targeted at multiple countries and languages, each with the correct country extension. We have a corporate blog for each of these websites, where the blogs are subdomains of the main website. Currently we have a process of rewriting our blog posts completely – while keeping the same subjects – in order to have original content on each of our blogs, although we have up to 3 blogs in the same language. These are the languages we target: French – FRANCE French – SWITZERLAND French – BELGIUM Italian – ITALY Italian – SWITZERLAND German – GERMANY German – SWITZERLAND German – AUSTRIA Spanish – SPAIN Spanish – COLOMBIA Spanish – PANAMA Czech – CZECH REPUBLIC Swedish – SWEDEN Dutch – BELGIUM / NETHERLANDS English – UK English – INTERNATIONAL The process is obviously very tedious, and not always applied rigorously – i.e. some of the texts are posted on 2-3 different blogs, creating duplicate content.
International SEO | | ESL_Education
The questions : Would there be any reason for us to privilege the use the rel="canonical" tag over the "hreflang=x" tag, thus giving privilege to a "master" version for each language? Are there any risks in using the "hreflang="x" tag for our blogs considering that the posts would be very similar, except for references to additional content? Could there be any risk that Google would consider our sites as duplicate content after all? Should we specify on each blog that we have all the above versions, or should we only specify the other markets versions in each language? For example, should we specify on our French, Swiss and Belgium blog that we have 3 different French versions, on our UK blog that we also have an international version, and so on, or should we list all versions on each of the blogs? Does the "hreflang="x" tag facilitate the indexation of each of the versions in the SERPs of their targeted market? Lastly, are there any precautions we should take in order to put this in place? Looking forward to your feedback. Best wishes, Maëlle0 -
Which hreflang tag to use for .eu domain
Hi there, We're trying to solve a problem with one of our domains, we have a .eu CCTLD and we're trying to implement hreflang tags. On our US and UK sites, we use "en-us" and "en-gb", but it's not clear how to approach this european problem, as there is not a "en-eu" tag. The site is in English, but serves several European countries speaking different languages. What's the best hreflang code to use in this situation? Any help much appreciated, Thanks!
International SEO | | dennis.globalsign0