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 -
International URL paths
Wanted to ask everyone a questions: So our company is going to be doing a website that is going to be full of videos. The url path will be country.domain.com/language/slug/content-id. We redirect the user when they go to the different country. So if you're in spain on a train to france your URL will change from es.domain.com/es/slug/content-id to fr.domain.com/es/slug/content-id. Each country can listen to each video in all languages. My question is with hreflang tags and canonicals. Aside from targeting users in a certain country via Google Search Console, how do I eliminate duplication and tell Google which I'd like to show up via which country. In spain I would like es.domain.com/es/slug/content-id to show in Google and would have hreflang tags on each of the es.domain pages but what about fr.domain.com/es/slug/content-id since it would show the same content? I can't canonical to one of them since I need them to show in their respective country. How do I show the difference in language and country without showing duplication?
International SEO | | mattdinbrooklyn0 -
Hreflang Alternate & Pagination
Hi everybody, So I'm setting up hreflang tags on an ecommerce site. The sites are in the USA and Canada. The Canadian site will have fewer products than the American site, meaning that there won't be as many pages in each category as there are on the American site. What is the correct way to handle hreflang tags on these extra category pages? To put this another way, the American site may have a category with 3 pages of products, while the Canadian equivalent only has 2 pages of products. What happens to this extra American category page (example.com/widget-category/page-3) ? Does it get an hreflang tag linking to the first page of the equivalent Canadian category (example.ca/widget-category/)? Does it not get any hreflang tags because it has no true Canadian counterpart? Does it matter at all if it has a canonical tag pointing to the first page in the series anyway (example**.com**/widget-category/)? Thanks, Andrew B.
International SEO | | ABullis0 -
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 -
How to best set up international XML site map?
Hi everyone, I've been searching about a problem, but haven't been able to find an answer. We would like to generate a XML site map for an international web shop. This shop has one domain for Dutch visitors (.nl) and another domain for visitors of other countries (Germany, France, Belgium etc.) (.com). The website on the 2 domains looks the same, has the same template and same pages, but as it is targeted to other countries, the pages are in different languages and the urls are also in different languages (see example below for a category bags). Example Netherlands:
International SEO | | DocdataCommerce
Dutch domain: www.client.nl
Example Dutch bags category page: www.client.nl/tassen Example France:
International domain: www.client.com
Example French bags category page: www.client.com/sacs When a visitor is on the Dutch domain (.nl) which shows the Dutch content, he can switch country to for example France in the country switch and then gets redirected to the other, international .com domain. Also the other way round. Now we want to generate a XML sitemap for these 2 domains. As it is the same site, but on 2 domains, development wants to make 1 sitemap, where we take the Dutch version with Dutch domain as basis and in the alternates we specify the other language versions on the other domain (see example below). <loc>http://www.client.nl/tassen</loc>
<xhtml:link<br>rel="alternate"
hreflang="fr"
href="http://www.client.com/sacs"
/></xhtml:link<br> Is this the best way to do this? Or would we need to make 2 site maps, as it are 2 domains?0 -
Multiple hreflang tags
I'm trying to advise on the multi country seo for a site in terms of markup. We've already decided on using sub folders rather than separate sites or subdomains due to an established link profile and good rankings in all countries. The question is in relation to the homepage. Obviously this is the page most likely to rank well in any country (the site is a .com). But can multiple hreflang tags be put on the page to say that the page targets many countries? Or would leaving the hreflang tag off allow it to just rank for all countries? Also do Yahoo and Bing follow hreflang tags? I can't find any info on this anywhere! Thanks very much in advance for any help!
International SEO | | Bdig0 -
How to fix the duplicate content problem on different domains (.nl /.be) of your brand's websites in multiple countries?
Dear all, what is the best way to fix the duplicate content problem on different domains (.nl /.be) of your brand's websites in multiple countries? What must I add to my code of websites my .nl domain to avoid duplicate content and to keep the .nl website out of google.be, but still well-indexed in google.nl? What must I add to my code of websites my .be domain to avoid duplicate content and to keep the .nl website out of google.be, but still well-indexed in google.nl? Thanks in advance!
International SEO | | HMK-NL3 -
How can I see what my web site looks like from a different country?
I've tried a few proxy tools to try to see how my site looks from other global locations, but haven't found one that works very well yet -- or a list of reliable proxies around the world. I need to do this to test various geo-targetted ads and other optimizations. Can anyone make a recommendation? Thanks!
International SEO | | Dennis-529610