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
-
International SEO - how likely is it autoredirect via IP Address will impact rankings?
Hello, We're looking to internationalise our site so that US visitors will see the US branded version while everyone else will see the global version (currently at .com). This question specifically is about location-based auto-redirects. The literature I've read (including Google) recommends against auto-redirection: "Avoid automatic redirection based on the user’s perceived language. These redirections could prevent users (and search engines) from viewing all the versions of your site." Insofar as I understand it the theory goes as follows. Google crawls mainly from the US Auto-redirecting by US IP to the US domain will also redirect the Googlebot crawlers Because of this the crawlers will only see the US site / domain and not original .com website Crawlers can't index what they can't see Drop in rankings for the original site However, one of my colleagues has pointed out to me a company which does use auto-redirects. If a user is in the UK and type in their website they will be redirected to the UK version of the site, US will be US etc. I have checked their rankings and they are still ranking highly for relevant terms. I have been asked why they have been able to do this without impacting their visibility. Any ideas? Given their success have the risks of auto-redirecting have been overstated? How can we ensure US visitors land on the correct internationalised domain without auto-redirects in place? Looking forward to your thoughts on this as well as your experiences. Thanks in advance!
International SEO | | SEOCT0 -
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 -
Has any one seen negative SEO effects from using Google Translate API
We have a site currently in development that is using the Google Translate API and I am having a massive issue getting screaming frog to crawl and all of our non-native English speaking employees have read through the translated copy in their native language and the general consensus is it reads at a 5th grade level at best. My questions to the community is, has anyone implemented this API on a site and has it a) helped with gaining traffic from other languages/countires and b) has it hurt there site from an SEO standpoint.
International SEO | | VERBInteractive0 -
How can I restrict the domains country by country?
Hello, I have Two Domains one is xyz.co.uk and other is xyz.com Now, my main target for .com is United States, and I don't want to open that .com domain in any other country especially India. The same with the .co.uk, I dont want to open .co.uk in other countries. I did it with some developer help but it gave me redirected error in Google Webmaster. Can anyone please guide me how I can do this the proper way ? And Other issues is, how can I implement ,if any user in United States open xyz.co.uk than he should redirect to the .com version. Thank you.
International SEO | | AmitTulsiyani0 -
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 -
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 -
SEO for .com vs. .com.au websites
I have a new client from Australia who has a website on a .com.au domain. He has the same domain name registered for .com. Example: exampledomain.com.au, and exampledomain.com He started with the .com.au site for a product he offers in Australia. He's bringing the same product to the U.S. (it's a medical device product) and wants us to build a site for it and point to the .com. Right now, he has what appears is the same site showing on the .com as on the .com.au. So both domains are pointing to the same host, but there are separate sections or directories within the hosting account for each website - and the content is exactly the same. Would this be viewed as duplicate content by Google? What's the best way to structure or build the new site on the .com to get the best SEO in the USA, maintain the .au version and not have the websites compete or be viewed as having duplicate content? Thanks, Greg
International SEO | | gregelwell0