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://mza.seotoolninja.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
-
Optimising for two countries
I have a UK-based client, with a global product, who wants his website optimised for the same keywords in Google US and Google UK. Should I treat this as two separate jobs in any way or does it make no difference? I'm particularly wondering about link building and onsite optimisation
Intermediate & Advanced SEO | | markwes0 -
Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
Hi what is the code to redirect wordpress blog from site.com/%post_id%/%postname%/ to site.com/blog/%postname%/ We are moving the site to a new server and new url structure. Thanks in advance
Intermediate & Advanced SEO | | Taiger0 -
DIsavow links even without a penalty?
This is a sort of follow-on question from a previous one I asked, where I was being advised to do this. I've inherited a poor client link profile from a previous provider, with tons of partial match links for "IT support" on a lot of low quality directories. It has been at least a year now since they were built, and I'm concerned that the abundance of them will make it harder to rank for any "IT support" keywords due to over-optimization. This is frustrating since "IT support London" is the main keyword for the home page. On the previous thread, I was advised to disavow these old links and move on, though I have heard from many in the SEO community (and read) that using the disavow tool unless absolutely necessary (i.e. In the case of a penalty) is a mistake, since it is effectively notifying Google that you have been "misbehaving" and you should stay away from sending these types of signals altogether. Can anyone with experience in this matter please advise on this? Thank you in advance.
Intermediate & Advanced SEO | | zakkyg1 -
Status Codes - Deleted URLs
Hi I have a dev team 'cleaning' their database and from what I can tell deleting old URL's - which they say are not in use. I don't have much visibility on how our URLs are managed in the back end of the site, but my concern is these URLs should never be deleted, they should have a 301, 404 or 410. This includes product pages no longer available and category pages - my concern is losing authority. Am I worrying over nothing or is this a big issue?
Intermediate & Advanced SEO | | BeckyKey0 -
How to implement three languages with a subfolder /blog on a .com domain?
Hi, I'm setting up a blog for a client that has a .com domain. The client is targeting three languages with the subfolder /de, /nl and /en. We've also established that a blog rather be used in a subfolder than subdomain. My question: How should we implement the three languages? Is this gonna be a domain.com/blog/en or domain.com/en/blog or would you maybe don't use subfolders for language at all but let a hreflang do the job?
Intermediate & Advanced SEO | | dexport0 -
.htaccess question/opinion/advice needed
Hello, I am trying to achieve 3 different things on my .htaccess I just want to make sure I am doing it the right or best way because I don't have much experience working on this kind of files. I am trying to: a) Redirect www.mysite.com/index.html to www.mysite.com so I don't get a duplicate content/tag error. b) Redirect mysite.com to www.mysite.com c) Get rid of the file extensions; www.mysite.com/stuff.html to www.mysite.com/stuff This is the code that I'm currently using and it seems to work fine, however I would like someone with experience to take a look so I can avoid internal server errors and other kinds of issues. I grabbed each piece of code from different posts and tutorials. Options +FollowSymlinks
Intermediate & Advanced SEO | | Eblan
RewriteEngine on Index Rewrite RewriteRule ^index.(htm|html|php) http://www.mysite.com/ [R=301,L] RewriteRule ^(.*)/index.(htm|html|php) http://www.mysite.com/$1/ [R=301,L] RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html Options +FollowSymlinks
RewriteEngine on
Rewritecond %{http_host} ^mysite.com [nc]
Rewriterule ^(.*)$ http://www.mysite.com/$1 [r=301,nc] Thanks a lot!0 -
Redirecting site from html/php to wordpress
I've never come across this and haven't been able to really find anything that explains it very well. I want to get opinions before we make a definitive decision. Here's the scenario... I am working on a site that was built in HTML/PHP and some of the pages are ranking pretty well. (some page 1, but not number 1) We are going to start using the Wordpress platform by year's end. The pages that were built in html have been built a little spammy but they still rank. I just think they are keyword stuffed a little and not very "reader friendly" (I think the last person was spinning content). So, we've built completely new content on our new pages and we've commissioned really good content writers for them. I will be handling the on-page SEO going forward so I know what to do there. My questions are this.... Should I 301 the old pages to the new pages with the better content? (old pages have the .html or .php extensions so www.example.com/keyword.php will become www.example.com/keyword-keyword Is there any negative side to doing this since the content will be completely different then the old pages that are being 301 from. (Keywords are pretty much staying the same with the exception of minor variations. ie, www.example.com/red-cashmere-sweater.php to www.example.com/cashmere-sweater) I ask this because I've moved sites before where I've just changed the location of the same content. I've never done it where the content is changing and so is the URL extension. Thank you in advance for your help and guidance.
Intermediate & Advanced SEO | | DarinPirkey0 -
Seo advice / plan ? penalized ?
I built an ecommerce site for a client of mine just over 9 months ago now. To begin with the serps were great, everything was listed in the results but for some reason a few weeks in all the results vanished from google and now we're lucky to find anything. I've been as far as page 200 and havent found any results. Its been like this for a solid 8 months so i can only presume that the site has been penalised in some form. Searching for unique phrases from the site doesnt even return results. The website in question is = http://goo.gl/A6Gz2
Intermediate & Advanced SEO | | gfxpixeldesigns
keywords we're aiming for = coloured contact lenses, fashion contact lenses
Target = Google UK Now im not really an seo guy but regardless of this my client has hired me to see whats going on and correct it. I've been scratching my head thinking all sorts of things but none of which im certain about so i'm looking for someone to point me in the right direction before i do anything drastic. So to begin with here are some of my suspicions which i personally think are affecting ranking and possible penalisation. #1 - Too many links on the page
#2 - Possibly over optimised
#3 - Lack of content on the product and category pages
#4 - Lack of backlinks and links in general coming from other sites My main concern is the lack of links from other sites and the odd link coming from low quality sites. I've also just found out that my client has been using an automatic link submitter which i've always thought of as a big no no. Some of the sites these links have been submitted to have nothing to do with the keyword we are targetting and are sort of spammy sites containing all sorts of links. Im wondering if these poor quality links could have caused the site to be penalised, google may be seeing it as a spammy site due to this. Whats your opinions on the above, are my suspicions correct and can this be recovered ? My planned course of action is to be as follows: #1 - Re write the content currently on the site so that it is better written and include more keywords, especially long tails since i think these will help bring the serps up.
#2 - Write detailed category and product descriptions as well as making sure every page has some well written content with links and keywords.
#3 - Keep the above pages to one main subject / keyword so that google doesnt get confused.
#4 - Get some links on popular and relevant sites, the only problem here is the lack of fashion contact lens sites. Does anyone have any advice on how to find these or where i should be getting links placed. Are directories worth while ?
#5 - Get more involved in the social side ie facebook, twitter I will be building on the above over time, aswell as running google ads moderately for our chosen keywords. Is there anything i have missed, anything i shouldnt be doing. Please advise. Thanks.0