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
-
Moving from single domain to multiple CCTLDs
Hi, I have a website targeting 3 markets (and therefor 3 languages). I was currently using a single domain with each market being targeted in the following format: www.website.com/pl
International SEO | | cellydy
www.website.com/de
www.website.com/hu It's clear to me by looking at organic results, that in my industry (Real Estate) Google is putting a large emphasis on local businesses and local domains. Top 10 organic results for all my keywords in all markets have country specific CCTLDs. I decided to migrate from a single domain strategy to a multi domain strategy. I own the domains. The new structure is www.website.com/pl -> www.website.pl
www.website.com/de -> www.website.de
www.website.com/hu -> www.website.hu All the website have been added to google search console and 301 redirects are in place and working correctly. The pages are all interlinked and have rel=alternate to each other. The sitemaps are all done correctly. My question is how do I tell Google about this. The change of address feature only works for changing one domain to one other domain. It's been a week and the old www.website.com domain is still showing up (even considering 301 redirects). Or do I just need to be patient and wait it out? Any tips?0 -
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 -
How do hreflang attributes affect ranking?
We have a site in English. We are considering translating the site into Dutch. If we use a hreflang attribute does that mean we have to create a duplicate page in Dutch for each English page, or does Google auto-translate? How would duplicate pages, even if they are in a different language, affect ranking?
International SEO | | Substance-create0 -
In the U.S., how can I stop the European version of my site from outranking the U.S. version?
I've got a site with two versions – a U.S. version and a European version. Users are directed to the appropriate version through a landing page that asks where they're located; both sites are on the same domain, except one is .com/us and the other is .com/eu. My issue is that for some keywords, the European version is outranking the U.S. version in Google's U.S. SERPs. Not only that, but when Google displays sitelinks in the U.S. SERPs, it's a combination of pages on the European site and the U.S. site. Does anyone know how I can stop the European site from outranking the U.S. site in the U.S.? Or how I can get Google to only display sitelinks for pages on the U.S. site in the U.S. SERPs? Thanks in advance for any light you can shed on this topic!
International SEO | | matt-145670 -
Redirect the main site to keyword-rich subfolder / specific page for SEO
Hi, I have two questions. Question 1: is it worthwhile to redirect the main site to keyword-rich subfolder / specific page for SEO? For example, my company's webpage is www.example.com. Would it make sense to redirect (301) the main site to address www.example.com/service-one-in-certain-city ? I am asking this as I have learned that it is important for SEO to have keywords in the URL, and I was thinking that we could do this and include the most important keywords to the subfolder / specific URL. What are the pros and cons of this? Should I create folders or pages just the sake of keywords? Question 2: Most companies have their main URL shown as www.example.com when you access their domain. However, some multi-language sites show e.g. www.example.com/en or www.example.com/en/main when you type the domain to your web browser to access the site. I understand that this is a common practice to use subdomains or folders to separate different language versions. My question is regarding subfolders. Is it better to have only the subfolder shown (www.example.com/en) or should I also include the specific page's URL after the subfolder with keywords (www.example.com/en/main or www.example.com/en/service-one-in-certain-city)? I don't really understand why some companies show only the subfolder of a specific language page and some the page's URL after the subfolder. Thanks in advance, Sam
International SEO | | Awaraman1 -
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 -
French Canadian Website and French Language URLs
Hello, One of my clients has a question on a new Quebec, Canada version of their website. The website content and copy is in the French Canadian language, but the IT Director has asked if, for the purpose of SEO, should the URLs be in French as well? So, this questions has two parts... For SEO, should the URL's be in French or left in English, to avoid crawl errors? For visitor UX, is there any reason to have them in French versus English?
International SEO | | Aviatech0 -
Country specific domains pointing to a .com site
Hello, I am new to seo so please be easy if this happens to be a "silly" question. My company has a .com site. We are expanding into global markets, focusing on specific countries right now. General question: Would I be penalized for duplicate content if I purchased country-specific domains and pointed them to the .com site? Thanks, Jim
International SEO | | jimmer0