Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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!
-
Just an update for everyone. We use sitemaps, rather than meta tags, to do the circular href lang mapping for our localized domains. In doing so, we've found the HREFLANG XML Sitemap Tool from The Media Flow particularly AMAZING! Talk about saving time! Just make a csv file with a comma for each language/locale, upload it, and then download a zip file with all your sitemaps. Beautiful.
-
Hey Kate,
I remember this question as well it's a year old now great catch and they answer. Thumbs up.
Imagine if you tried to target all of different French dialects if you tried to target all of that with one url you would not be able to have the subtle differences between French and Canadian French
just like a US English and Canadian English there are minor details that make a huge difference to Google. Also I'm sure this is been sa just like in US English and Canadian English there are minor details that make a huge difference to Google.
Also I'm sure this is been said however I think it is worthwhile to host your website in the country you're targeting. Canada in this case (This not that it is going to hurt you badly) as long as hosting it's very fast were you going to target. if you do not however there is evidence pointing to the IP still making a large difference after Geo targeting. )
See Richard Baxter's article on using a UK IP versus US IP on the exact same hosting company and getting a pretty large difference in results based on the IP address after Geo targeting.
https://builtvisible.com/ip-location-search-results/
What's interesting is WPE (the host) was using a proxy so hosting was still out of the UK Data center but was assigned or US IP addres.
I hope that helps and agree 100% with what Kate said. She really knows her stuff.
Tom
-
Oh wow. Missed this somehow. I remember answering but the answer isn't here. Weird.
Short answer, this markup would be confusing to a bot. You are telling Google that /fr has multiple regional translations. Which isn't true. If you have one French translation that isn't regionally focused, you need one hreflang tag for that page.
If you are trying to geo-target a specific country, you need to actually make content for that country you are targeting. If you don't have the resources for that, just offer your content in french without geo-targeting and it should rank just fine if it's relevant and strong.
-
I have this same question Justin. Did you find that this is an acceptable setup for hreflang?
-
That's another question that has nothing to do with hreflang usage but about the best International SEO targeting to follow in your case and that will depend a lot on your business and capacity. I wrote about it here: https://blog.kissmetrics.com/how-to-international-seo/ if you still have questions you might want to open a new thread specifically asking about that topic.
-
Thank you Aleyda!
Do you know which type of targeting has more impact ... language or country?
I don't know that we need country targeting because we don't display currency or sell offline in physical locations. Also, I doubt we would create multiple French sites ... even if we do want to target France specifically.
-
Hi Justin,
If you're targeting French as "language" and not as country, and you only have one French site version for all your french speaking users then you don't need to add the specific country, just the language to the hreflang It's much simpler!
------> English to the US. If you don't only target the US with it but any English speakers worldwide, then remove the US to become:
The same with the French one:
Like that you only need to add these two tags in your English and French (language targeted) URLs
The issue is that you were mixing language and country targeting which are two different things.
I hope this helps!
-
Kate,
What if I have one url translated into French but want to target French speakers in multiple countries? Would I do this with my hreflang tags:
Note: I generated these with Aleyda Solis's international sitemap generator. Does hreflang="x-default" ever get used?
-
Hi!
Your friendly international SEO here. (PS thanks for the call out there Tom)
You cannot point two HREFLANG tags at the same URL because it's impossible to have both languages on the same page. Well, not impossible, just not recommended. I am not sure if you have translations or not, so both possible answers are below.
Translations (FR and EN) Available
If you have a Canadian subsite and it has two translations, you need to use both geo-targeting and HREFLANG. In your case, the /ca would be geotargeted, but then you need to distinguish the two translations somehow. If /ca is how you are geo-targeting, I recommend parameter for translation. So the French translation of the Canadian homepage content would be http://www.domain.com/ca?lang=fr -- for English of the same Canadian homepage content, it would be http://www.domain.com/ca?lang=en.The canonical set up in that instance is:
Page: http://www.domain.com/ca?lang=fr
Page: http://www.domain.com/ca?lang=en
Note that the HREFLANG tags are the same because you have to reference the current page and all translations of that page.
Translations NOT Available
Now, this answer assumes that you just have the Canadian content in English, or just in French. If that is true, you don't need the HREFLANG. You just need to geo-target the subsite for Canada.Now I do recommend that you offer translated content for the Canadian audience, but please don't auto-translate content. Just offer it in one language until you can get the resources to have it translated by a real person.
Hope that helps!
-
Because you are in the country you wish to target already you could geo-target the domain to Canada and simply use the language but the using set up below would work. You may also want to read this by KATE MORRIS - http://www.stateofdigital.com/use-hreflang/.
You could check the above using http://www.impersonal.me/ and http://moz.com/blog/using-the-correct-hreflang-tag-a-new-generator-tool.
Hope this Helps,
Tom
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
-
Is it worth maintaining multiple international websites
Hi I work for a British company which has two well established websites - a .co.Uk for the UK, and a .com for the US and rest of the world (in language directories). The Uk site is hosted in the Uk, the .com in US. The websites do reasonable well in Google on both sides of the Atlantic. The company is a small but quite well known brand. The company is now thinking of redirecting the .co.Uk to the .com as it would be cheaper to maintain. What would you advise? Thanks.
International SEO | | fdl4712_aol.com2 -
GeoIP Redirects & hreflang
Hello, We believe we've had some issues with hreflang tags not remaining validated due to the implementation of geoIP redirects. Previously, if a user clicked a landing page on Google search that was not targeted for their territory, they would instantly be redirected to a sub path that targets their territory using geoIP redirects. We're planning to remove the initial geoIP redirects and have messaging that prompts the user to either stay on the page they've landed on, or be redirected to page that is right for their territory. However, if a user has selected to be redirected to a sub path that is targeted for their territory, they will have a cookie preference set for the IP location they've selected, and will continue to be redirected to their chosen sub path. My question is, will a crawler follow and trigger the geo preference cookie, which could potentially cause complexities in validating hreflang tags and ranking of content for the right market. Thanks.
International SEO | | SEONOW1230 -
Sitelinks in multiple language
Hello ! In a french browser & french Google interface with no browsing history, I have the french version of my website indexed, but the site links coming along with it are in English ! Is there any way to combat this? Note - we use a 302 language re-direction. See screenshot here: http://bit.ly/25kViB0
International SEO | | TechWyse0 -
International Site Merge
Hello, I've never had to deal with an international site before, let alone a site merge. These are two large sites, we've got a few smaller old sites that are currently redirecting to the main site (UK). We are looking at moving all the sites to the .com domain. We are also currently not using SSL (on the main pages, we are on the checkout). We also have a m.domain.com site. Are there any good guides on what needs to be done? My current strategy would be: Convert site to SSL. Mobile site and desktop site must be on the same domain. Start link building to the .com domain now (weaker link profile currently) What's the best way of handling the domains and languages? We're currently using a .tv site for the UK and .com for the US. I was thinking, and please correct me if i'm wrong, that we move the US site from domain.com to domain.com/us/ and the domain.tv to domain.com/en/ Would I then reference these by the following: What would we then do with the canonicals? Would they just reference their "local" version? Any advice or articles to read would really be appreciated.
International SEO | | ThomasHarvey0 -
Hreflang for bilingual website in the same region/location
Hi everyone, got a quick question concerning the hreflang tag. I have a website with 2 different language versions targeting to the same region(Reason: The area is bilingual however not everyone speaks the other language fluently) Question:
International SEO | | ennovators
Can I use hreflang in that case like: Many thanks in advance0 -
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 -
International SEO Subfolders / user journey etc
Hi According to all the resources i can find on Moz and elsewhere re int seo, say in the context of having duplicate versions of US & UK site, its best to have subfolders i.e. domain.com/en-gb/ & domain.com/en-us/ however when it comes to the user journey and promoting web address seems a bit weird to say visit us at: domain.com/en-us/ !? And what happens if someone just enters in domain.com from the US or UK ? My client wants to use an IP sniffer but i've read thats bad practice and should employ above style country/language code instead, but i'm confused about both the user journey and experience in the case of multiple sub folders. Any advice much appreciated ? Cheers Dan
International SEO | | Dan-Lawrence0 -
Pop-up to select country. Any negative SEO effect?
Hi there! We have similar websites in different countries (it's an ecommerce site). Some times, those websites share the same language and, for example, people from Mexico end up in a page from our website in Argentina. Therefore they see our products in their language buy in a foreign currency. We would like to show them a pop-up (like a shadowbox) depending on their IP to allow them to go to their local website. There wouldn't be any redirect. Would that affect our rankings in any way? Would Googlebots see that as well? Thanks!
International SEO | | jorgediaz0