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
-
Traffic drop after hreflang tags added
We operate one company with two websites each serving a different location, one targeting EU customers and the other targeting US customers. thespacecollective.com (EU customers) thespacecollective.com/us/ (US customers) We have always had canonical tags in place, but we added the following hreflang tags two weeks ago (apparently this is best practice); EU site (thespacecollective.com) US site (thespacecollective.com/us/) Literally the same day we added the above hreflang tags our traffic dropped off a cliff (we have lost around 70-80% on the EU site, and after a minor recovery, 50% on the US site). Now, my first instinct is to remove the tags entirely and go back to just using canonical, but if this is truly best practice, that could do more damage than good. This is the only change that has been made in recent weeks regarding SEO. Is there something obvious that I am missing because it looks correct to me?
International SEO | | moon-boots0 -
How to Localise per Region (Europe, America, APAC, EMEI) and not per country as best SEO practise?
Hi SEO expertises! I am currently working with a client that initially have an English website targeting UK users but want to expand their market into four new regions (Europe, America, APAC and EMEI) keeping English as a main language. I would like to request your help here as I told the client ISO location and hreflang it will be just possible per language and they must need to localise each English region with local keywords, however I would like to double check if it will be any way (Sitemap, Hreflang) we can tell Google we are targeting per region and not per country? Thanks a lot!
International SEO | | Atalig20 -
Is this setup of Hreflang xml sitemap correct?
Hi, I'm trying to setup hreflang for 2 domains. One is purely a US site and the other domain has the language-country as subdomains. For example: http://www.websiteUSA.com (Targets English - USA) https://www.websiteINT.com/en-CA (Targets English - Canada) https://www.websiteINT.com/fr-CA (Targets French - Canada) https://www.websiteINT/es (Targets Spanish) ..and so on and so forth for about 12 of these international URLs. I created an XML sitemap that looks something like this: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>http://www.websiteUSA.com</loc></url></urlset> <url><loc>https://www.websiteINT.com/en-CA</loc></url> <url><loc>https://www.websiteINT.com/fr-CA</loc></url> Question 1: Is this correct? In my actual file, I have all the countries listed and self-referencing. Question 2: I'm hosting this file at https://www.websiteINT.com/hreflang.xml AND at http://www.websiteUSA.com/hreflang.xml. Is this correct? Question 3: Will this help the SERPs direct english speakers from the US to http://www.websiteUSA.com while show SERPs for say English Speakers in Canada to https://www.websiteINT.com/en-CA? Question 4: For some reason, when I put up the xml site, it only listed each URL once instead of the full XML file. Should I have uploaded a text file instead? It doesn't seem to render correctly. Thank you!
International SEO | | SylviaH0 -
Mixed English and Arabic URLs
I'm currently working with a global brand who need localisation in each of their territories. They're operating on a single .com domain name, with different language versions in separate directories. Example:
International SEO | | Guyboz
domain.com/en/
domain.com/fr/
domain.com/ar/ We're using ahreflang tags to make sure Google shows the correct language version for each region. Now onto my question... As the domain is a .com with an English company name, when it comes to the Arabic version of the website, will having a completely mixed language URL like this be detrimental to the site's performance in searches from the middle east? Currently we're coming up with URLs like the following: domain.com/blog/عنوان بلوق عربية طويلة حقا على شيء مثير جدا للاهتمام Is this a bad thing?0 -
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 -
Showing different content according to different geo-locations on same URL
We would like our website to show different content according to different Geo-locations (but in the same language). For example, if www.mywebsite.com is accessed from the US, it would show text (in English) appealing to North Americans, but, if accessed from Japan, it would show text (also in English) that appeals more to Japanese people. In the Middle East, we would like the website to show different images than those shown in the US and Asia. Our main concern is that we would like to keep the same URL. How will Google index these pages? Will it index the www.mywebsite.com (Japan version) in its Asia archives and the www.mywebsite.com (US version) in its North American archives? Will Google penalise us for showing different content across Geo-locations on the same URL? What if a URL is meant to show content only in Japan? Are there any other issues that we should be looking out for? Kindest Regards L.B.
International SEO | | seoec0 -
SEO Company in Asia
Hi All. I have a client looking to expand their industrial services to southeast Asia (Vietnam and Indonesia specifically right now). Does anyone know of an SEO/Online Marketing firm local to that region that may be able to help them network with businesses and industries there? I've gone through the SEOmoz member database and reached out to a couple people with agencies in that area but never heard back from them. I personally thought a local firm would be more beneficial to the client but I'm also open to suggestions on ways that we might be able to help them market their services online from the US. Thanks so much! Megan
International SEO | | ILM_Marketing0 -
Correct Hreflang & Canonical Implementation for Multilingual Site
OK, 2 primary questions for a multilingual site. This specific site has 2 language so I'll use that for the examples. 1 - Self-Referencing Hreflang Tag Necessary? The first is regarding the correct implementation of hreflang, and whether or not I should have a self-referencing hreflang tag. In other words, if I am looking at the source code for http://www.example.com/es/ (our Spanish subfolder), I am uncertain whether the source code should contain the second line below: Obviously the Spanish version should reference the English version, but does it need to reference itself? I have seen both versions implemented, with seemingly good results, but I want to know the best practice if it exists. 2 - Canonical of Current Language or Default Language? The second questions is regarding which canonical to use on the secondary language pages. I am aware of the update to the Google Webmaster Guidelines recently that state not to use canonical, but they say not to do it because everyone was messing it up, not because it shouldn't be done. So, in other words, if I am looking at the source code for http://www.example.com/es/ (our Spanish subfolder), which of the two following canonicals is correct? OR For this question, you can assume that (A) the English version of the site is our default and (B) the content is identical. Thanks guys, feel free to ask any qualifiers you think are relevant.
International SEO | | KaneJamison1