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
-
Got hit by Spammy Structured Markup Penalty. Need Help
I have fixed the issue found in strctured data testing tool. Even I removed entire schema. Till now I have submitted reconsideration request 5 times and it rejected every time. Don't know how to lift this penalty. Any advise?? Need help guys my websites are going through very critical situations in terms of traffic from getting this manual action from Google. This is related to Pharma Industry.
International SEO | | rashmibhardwaj860 -
International SEO Question: Using hreflang tags across two different TLDs.
Hi! My UK based company just recently made the decision to let the US market operate their ecommerce business independently. Initially, both markets were operating off the same domain using sub-directories (i.e: www.brandname.com/en-us/ , www.brandname.com/en-gb/ ) Now that the US team have broken away from the domain - they are now using www.brandnameUSA.com while the UK continues to use www.brandname.com/en-gb/. The content is similar across both domains - however, the new US website has been able to consolidate several product variations onto single product pages where the UK website is using individual product pages for each variation. We have placed a geo-filter on the main domain which is 301 redirecting North American traffic looking for www.brandname.com to www.brandnameUSA.com However, since the domain change has taken place, product pages from the original domain are now indexing alongside the new US websites product pages in US search results. The UK website wants to be the default destination for all international traffic. My question is - how do we correctly setup hrlang tags across two separate TLDs and how do we handle a situation where multiple product pages on the "default" domain have been consolidated into one product page on the new USA domain? This is how we are currently handling it: "en-us" href="https://www.BRANDNAMEUSA.com/All-Variations" /> href="https://www.BRANDNAMEUSA.com/All-Variations" />
International SEO | | alexcbrands0 -
Google does not index UK version of our site, and serves US version instead. Do I need to remove hreflanguage for US?
Webmaster tools indicates that only 25% of pages on our UK domain with GBP prices is indexed.
International SEO | | lcourse
We have another US domain with identical content but USD prices which is indexed fine. When I search in google for site:mydomain I see that most of my pages seem to appear, but then in the rich snippets google shows USD prices instead of the GBP prices which we publish on this page (USD price is not published on the page and I tested with an US proxy and US price is nowhere in the source code). Then I clicked on the result in google to see cached version of page and google shows me as cached version of the UK product page the US product page. I use the following hreflang code: rel="alternate" hreflang="en-US" href="https://www.domain.com/product" />
rel="alternate" hreflang="en-GB" href="https://www.domain.co.uk/product" /> canonical of UK page is correctly referring to UK page. Any ideas? Do I need to remove the hreflang for en-US to get the UK domain properly indexed in google?0 -
Hreflang tag on every page?
Hello Moz Community, I'm working with a client who has translated their top 50 landing pages into Spanish. It's a large website and we don't have the resources to properly translate all pages at once, so we started with the top 50. We've already translated the content, title tags, URLs, etc. and the content will live in it's own /es-us/ directory. The client's website is set up in a way that all content follows a URL structure such as: https://www.example.com/en-us/. For Page A, it will live in English at: https://www.example.com/en-us/page-a For Page A, it will live in Spanish at https://www.example.com/es-us/page-a ("page-a" may vary since that part of the URL is translated) From my research in the Moz forums and Webmaster Support Console, I've written the following hreflang tags: /> For Page B, it will follow the same structure as Page A, and I wrote the corresponding hreflang tags the same way. My question is, do both of these tags need to be on both the Spanish and English version of the page? Or, would I put the "en-us" hreflang tag on the Spanish page and the "es-us" hreflang tag on the English page? I'm thinking that both hreflang tags should be on both the Spanish and English pages, but would love some clarification/confirmation from someone that has implemented this successfully before.
International SEO | | DigitalThirdCoast0 -
HELP: Incorrect Meta Tag description showing for the wrong search results
Hi Guys I'm stuck here! I have update the hreftags, updated the sitemaps. I have 3 top level domains and my zenory.com site is showing for the home page the wrong meta tag description, as you can see in the attachement the meta tag is showing the new zealand site meta tag description which is for zenory.co.nz Anyone know what might be going on here? I have also fetched the home page through WMT as well and its still returning the same results any advice would be much appreciated! Thanks
International SEO | | edward-may0 -
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 -
Wordpress international SEO Plugin - recommendations needed
Hi Mozzers, I am designing the web architecture for a international website and will be using Wordpress. Can anyone recommend a plugin that lets me SEO for all countries? I have used Yoast many times but it does not seem to work for International Web SEO Architectures. Thanks Carla Here is an idea of what I was thinking of doing Homepage.com Irish-homepage.ie or Homepage.com/ie Irish-Subpages.ie or Homepage.com/ie/subpage Irish-Subpages.ie or Homepage.com/ie/subpage Irish-Subpages.ie or Homepage.com/ie/subpage UK homepage.co.uk or Homepage.com/uk UK-subpages.co.uk or Homepage.com/uk/subpage UK-subpages.co.uk or Homepage.com/uk/subpage
International SEO | | Carla_Dawson0 -
Multi-lingual Site (Tags & XML SiteMap Question)
We have two sites that target users in two different countries in different languages in the following manner: Site 1 es.site1.com - Spanish version Site 2 site2.com/francais/.............. Navigation and content are translated into the foreign language from English What is the best way to let Google know about these multi-lingual pages: A. Add the rel="alternate" and hreflang= in the source code for the hunders of pages we have. B. Or is there a tool we can use to crawl and create XML site maps for different language pages. What do we need to do in the XML site map so that Google know that sitemap1.xml for example relates to Spanish as an example many thanks
International SEO | | CeeC-Blogger0