Hreflang : mixing with/without country code for same language
-
Hello,
I would like to display 3 different english versions of my website : 1 for UK, 1 for CA and 1 for other english users.
It would look like this for a page:
. (english content with £ prices)
<link rel="alternate" href="https: xxx.com="" en-ca" hreflang="en-CA">(english content with $CA prices)</link rel="alternate" href="https:>
<link rel="alternate" href="https: xxx.com="" en="" " hreflang="en">(english content without currency)</link rel="alternate" href="https:>
I wonder if I can mix this hreflang without country code with hreflangs with country code for the 2 other specific versions... or if the hreflang without country code version will appear whatever the country, even if i specified it .
In other terms, is hreflang="en" > hreflang="en-CA" + hreflang="en-GB" if tagged together on a same page?
Thank you
-
I think you are taking that rather too literally.
For example, as I said the .com could be the one targeted with an hreflang="x-default. A person in the UK would, by definition be served with the .com/uk version.
You wouldn't put a hreflang="x-default on the /uk homepage.
Regards
Nigel
-
The x-default is just what the link you provided says it is:
From Google: The reserved value hreflang="x-default" is used when no other language/region matches the user's browser setting. This value is optional, but recommended, as a way for you to control the page when no languages match. A good use is to target your site's homepage where there is a clickable map that enables the user to select their country.
If you use it for just one language, the issue comes when you have more than one language. The setup for x-default is for when there is no language detected, not that a general, non-regional language is detected.
-
Surely the x-default is, as the tag suggests, a default where no country or language is targeted? So if someone resided in an untargeted country and the site happened to rank it would be that one that came up.
Someone in the UK (which contained a UK target tag) would not go to default first, as you suggest, and then select their own country & language. That's misleading.
I agree that the subfolders would be used to target each country but you would still need both country and language. With Canada you may wish to target en and fr as both are relevant and each would reside in a different sub-folder.
The language is essential imho.
Regards Nigel
-
Actually, the x-default is meant to be for a page that allows users to select a country/language combination.
Alexis, in theory, what you are proposing should work. However, it is not always perfect. There is so much that goes into how Google serves content to each user. You might not see it working perfectly every time, but you can use the non-country with two country-specific hreflang tags together.
In fact, the country coded hreflang tags were meant to be dialect-specific. So a site could have US English content and UK English content, but also more general English content for the rest of the English speaking people.
In fact, it sounds like if the only thing changing is the currency, you might try geo-targeting subfolders. You can do hreflang in addition to that, but geotargeting is what is meant to be used here.
- Content for CA: https://www.domain.com/ca/content
- Content for GB: https://www.domain.com/gb/content
- General Content: https://www.domain.com/content
Claim the subfolders in Google Search Console as different properties and then target each one to those countries in the International Targeting area.
Then add hreflang the way you mentioned with those URLs. However, this setup won't work if you are doing things with another language mixed in. If you are planning on that, let me know.
-
Hi Alexis
If the third one is the default then you need a default hreflang tag.
https://moz.com/learn/seo/hreflang-tag
So the last one would have this tag pointing to it:
More on Google here:
https://support.google.com/webmasters/answer/189077?hl=en
It will then become the default site for all people not in England or Canada. Google will not see any of them as duplicate content.
Regards
Nigel
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
-
Can have FAQ schema code in home page?
Hi, can we have FAQ schema code in Home page ? we wrote some question and answer in drop down box on home page, and also add the schema code script to the head tag of page, but it does not work !,( other pages of our site show the FAQ in the SERP correctly) I want to know this problem is because its on Home Page ? or because its in Drop down style ? its the url of our site: http://payamgostar.com/
Intermediate & Advanced SEO | | allenwebmaster0 -
Confusing mixture of cross-domain and multi-language - HREFLANG
Hi Mozzers, I am working for an international client, in a highly regulated industry. As such, their international set-up is slightly confusing. They currently operate websites across multiple countries (with ccTLDs), as well as a global .com. E.g: domain.co.uk domain.it domain. es domain.com etc. Additionally, they offer multiple languages across each of these domains, which often cross over. E.g: domain.co.uk/en/, domain.co.uk/fr/, domain.co.uk/de/ domain.es/en/, domain.es/es/ domain.it/en/, domain.it/it/ domain.com/en/, domain.com/es/, domain.com/fr/, domain.com/de/ They are not currently using HREFLANG of any sort. Using EN as an example, this results in 6 URLs showing the same content, albeit for different languages/locations: Main URL domain.co.uk/en/category-A/ hreflang="en-GB" Multi-lingual variants from same domain... domain.co.uk/fr/category-A/ hreflang="fr-GB" domain.co.uk/de/category-A/ hreflang="de-GB" Cross domain variants from other ccTLDs... domain.es/en/category-A/ hreflang="en-ES" domain.it/en/category-A/ hreflang="en-IT" domain.com/en/category-A/ hreflang="en" Can anyone cleverer than myself confirm that the above would be the most effective set-up for this scenario, with each URL referencing each other in this way?
Intermediate & Advanced SEO | | Pan12340 -
Can you rank without 10 x content
If I create a page about a "Normandy bike tour "and present the same things (pictures, hotels, dates, day by day itinerary, clients reviews, map) as my competitors can I still rank ? Or do I need to add something totally that my competitors don't have on their webpages to rank and compete ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
How does Googlebot evaluate performance/page speed on Isomorphic/Single Page Applications?
I'm curious how Google evaluates pagespeed for SPAs. Initial payloads are inherently large (resulting in 5+ second load times), but subsequent requests are lightning fast, as these requests are handled by JS fetching data from the backend. Does Google evaluate pages on a URL-by-URL basis, looking at the initial payload (and "slow"-ish load time) for each? Or do they load the initial JS+HTML and then continue to crawl from there? Another way of putting it: is Googlebot essentially "refreshing" for each page and therefore associating each URL with a higher load time? Or will pages that are crawled after the initial payload benefit from the speedier load time? Any insight (or speculation) would be much appreciated.
Intermediate & Advanced SEO | | mothner1 -
Page Speed Slowed Down After Minifying Code
We recently implemented a plugin to minify our code on all of our homepages (800+ websites). The hope was that this would improve our page load speed. Unfortunately, the results are showing that page speed has slowed down across the board for all the homepages. I am very perplexed by this. Any insight into why this might have happened and what steps to take from here would be much appreciated!
Intermediate & Advanced SEO | | chrisvogel0 -
Does Google index language flags/links in header, even if only 1 is visible at a time?
Hi, I want to pass link juice from my English website to my other languages. Does Google index language flags/links in header? Only 1 flag is visible at a time, and from what i´ve read, Google does not index content that is not visible to the user without clicks, like content behind tabs. I´m guessing language drop downs could fall under the same category as well...? Any knowledge on this... thank you for your time!
Intermediate & Advanced SEO | | guidetoiceland0 -
E-commerce System without error page
I´d love to know your thoughts about this particular issue: Vtex is top3 e-commerce system in brazil. ( issue is huge) the system do not use 4XX responde codes If there is a error page, they just redirect it to a search page with 200 code. in Google index we can find a lot of "empty" pages ( indexed error pagess) We can´t use noindex for them Example:
Intermediate & Advanced SEO | | SeoMartin1
http://www.taniabulhoes.com.br/this-is-a-test
OR
http://www.taniabulhoes.com.br/thisisatest Any suggestions?0 -
Releasing Multiple Language Blog Articles ?
I was hoping anyone could give me some advice on my situation Our blog is a huge traffic source for us, we frequently release fresh blog articles on our English language website bringing lots of relevant traffic for a variety of different relevant topics Some of these articles would be very useful and relevant for visitors to our German website so i would like to get them translated and posted on our separate German language blog on our separate German website. The article text will not change much as the information is the same for Germany also How should i go about this without running into duplicate content issues with Google I looked into rel=alternate and realized that i cannot use this over two separate websites, i also thought about rel=canonical but it doesn't look like this would be suitable either Can anybody please give me any advice or thoughts on this ?
Intermediate & Advanced SEO | | Antony_Towle0