Href lang and multilingual question
-
Greetings Moz-Hive mind! I'm hoping you can help me on the internationalisation conundrum below;
We currently have a website with three distinct 'locales' US, SEA and UK we automatically redirect customers using IP recognition to a locale which matches, we also determine their currency based on IP. The issue we currently have is a lot of duplicate content and no use of href lang or rel=canonical tags etc...
My proposed structure would be to create a locale based directory for the three locales we offer.
- / - being US and most other Worldwide
- /uk - being UK
- /as - being Hong Kong and other Asian territories.
How would you suggest we set up the href lang tags for these? Because technically there are going to be multiple language possibilities within. Our main customers are English only if this helps.
Also as a secondary question, how should I set up the Google Search Console settings for each of these directories?
Many thanks in advance.
-
Thank you so very much!
-
Correct.
About using the hreflang="x-default" or the hreflang="en", that depends if you are interested in targeting also users not searching in English.
If not, you can go for the hreflang="en" option.
-
OK that makes sense. So let me get this straight;
1. USA/Worldwide version - /
- hreflang="en" (Can I use "x-default" here instead?)
- no targeting within Search Console
2. SEA version - /as/
- hreflang="en-HK" (repeat for all SEA territories)
- no targeting within Search Console
3. UK version - /uk/
- hreflang="en-GB"
- targeting United Kingdom on Search Console- use a selector pop up using IP sniffing to detect if the customer is viewing the wrong version of the page/site.
-
A solution could be implementing an alert system (Amazon style), so that people with those characteristics visiting the website and having eventually landed on it (but on / and /uk/ URLs) albeit they are located in HK or other EAS country, they are alerted that the best version of the site for them is the /as/ one.
You can do it via IP detection. Don't do automatic redirection, though.
-
Just to let you know, none of the above has been implemented yet, I am still planning the best course of action.
The majority of our clients browsing from Hong Kong have their language set to "en-US" and "en-GB". Is there a way to target these users without showing them the USA version of the site?
The USA version of the site needs to be the global one because the majority of our clients are based there.
Would you be willing to take this conversation offline into email? I would very much appreciate the help.
-
Mmm... question: do those users visiting the site from Hong Kong or from USA and/or GB?
Because if that is the situation, then you should check out if you have:
- Well implemented the hreflang;
- If you have geo-targeted the /uk/ subfolder to Great Britain/United Kingdom in Search Console.
Said that, following the logic I presented in my first answer, the hreflang="en" should suggest only "/" "(USA) URLs, because you told me that you want the USA version of your site to be also the "Global" one.
If it so, then the "/as/" cannot be paired to the hreflang="en" annotation, because you will have two identical hreflang (hreflang="en") suggesting two different URLs, and that would be wrong and confusing Google so much that it can ignore all the hreflang you may have implemented.
However, in the "home page" of the /as/ subfolder, you should have these hreflang annotations:
- <rel="alternate" hreflang="en-HK" href="http://www.domain.com/as/"></rel="alternate">
- <rel="alternate" hreflang="en-AU" href="http://www.domain.com/as/"></rel="alternate">
- REPEAT IT SO TO COVER ALL EAS COUNTRIES
- <rel="alternate" hreflang="en-US" href="http://www.domain.com/"></rel="alternate">
- <rel="alternate" hreflang="en-GB" href="http://www.domain.com/uk/"></rel="alternate">
- <rel="alternate" hreflang="en" href="http://www.domain.com/"></rel="alternate">
-
Thanks for your detailed response Gianluca! Very helpful.
One question, am I also able to include hreflang="en" under the /as/ subfolder? Looking at Analytics and 80% of our Hong Kong clients are browsing in either en-US or en-GB (complicated).
-
Your situation is a tricky one, because the SEA area is not a country, and therefore cannot be geo-targeted via Search Console.
To use the hreflang in order to suggest Google to show the /as/ subfolder is possible, though. Simply, you have to implement as many hreflang="en-[Code of the Country] as many are the countries included in the SEA area.
Then, in order to have the USA version being the global one:
-
You should not geo-target it toward USA in Search Console;
-
You should use the hreflang="en" and not the hreflang="en-US" (that will target only users from USA).
-
As an option, you can
-
set up the hreflang="en-US" to suggest google to show / to people using English in the USA;
-
set up the hreflang="x-default" to suggest google to show / to everybody (using English or not), who are not geo-targeted by other hreflang annotations.
Obviously, for UK, you must use the hreflang="en-GB".
-
-
Hey Dmitrii, sorry I should have mentioned in the question I understand how href lang works. I am more asking for the best practice implementation when the language might possibly vary? With US and Worldwide and the Hong Kong and Asian territories.
-
Hi there.
Well, you setup hreflang very normally - on each of those language based pages specify rel="alternate" hreflang="whatever" href="matching url".Refer to this video from Google, they explain pretty good what's what and when to use which version: https://support.google.com/webmasters/answer/189077?hl=en
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
-
Unanswered questions in forums
What should be done with forum questions that go unanswered for a long time (i.e. year or longer)? Are these types of questions valuable content? Should we opt out of having these types of pages indexed? Since these pages are just one sentences doesn't seem like it is adding value to the site.
Intermediate & Advanced SEO | | nandaMesa0 -
SEO question regarding rails app on www.site.com hosted on Heroku and www.site.com/blog at another host
Hi, I have a rails app hosted on Heroku (www.site.com) and would much prefer to set up a Wordpress blog using a different host pointing to www.site.com/blog, as opposed to using a gem within the actual app. Whats are peoples thoughts regarding there being any ranking implications for implementing the set up as noted in this post on Stackoverflow: "What I would do is serve your Wordpress blog along side your Rails app (so you've got a PHP and a Rails server running), and just have your /blog route point to a controller that redirects to your Wordpress app. Add something like this to your routes.rb: _`get '/blog', to:'blog#redirect'`_ and then have a redirect method in your BlogController that simply does this: _`classBlogController<applicationcontrollerdef redirect="" redirect_to="" "url_of_wordpress_blog"endend<="" code=""></applicationcontrollerdef>`_ _Now you can point at yourdomain.com/blog and it will take you to the Wordpress site._
Intermediate & Advanced SEO | | Anward0 -
Launching V2 of my site - what questions to ask the SEO Agency
Hi I am in the process of launching a new version of my site and I know I need to get my current SEO Agency to check and test certain aspects of the site so that I don't lose any rankings. The problem is I am unsure of everything to ask them and I was wondering if someone could help me out. I don't want to have missed something basic and therefore want to give them a checklist to confirm they are happy before go live. Any help appreciated
Intermediate & Advanced SEO | | Andy-Halliday1 -
Panda Recovery Question
Dear Friends, One of my customers was hit by the Panda, we were working on improve the tiny content on several pages and the remaining pages were: 1 NOINDEX/FOLLOW 2. Removed from sitemap.xml 3. Un-linked from the site (no one page on the site link to the pour content) As conclusion we can't see any improvement, my question is should I remove the pour content pages (404)? What is your recommendation? Thank you for your time Claudio
Intermediate & Advanced SEO | | SharewarePros0 -
Quick Rel Canonical Link Juice Question
Let's say I have two duplicate pages, A and B. However, A has 5 external links and B has 3 _different _external links. If I add the rel canonical tag to B, so that A is the "master page" do I also lose whatever link juice was going to B from the 3 external links?
Intermediate & Advanced SEO | | KempRugeLawGroup0 -
Another footer question
Hi to all, Maybe this question is already answered (in that case sorry) but I didn't find it. Currently, with the latest changes is really useful to have a 'seo footer'. I mean, it seems that can give you more problems that benefits. In my case the idea of the footer is only to obtain more traffic. Having this in mind, I'm right thinking that is better don't write anything ? Thanks in advance
Intermediate & Advanced SEO | | nsimpson0 -
Question For Anyone
Hi All, Would you be able to answer one small question If you go to Australian Google - www.google.com.au and search for "loans" on positions number # 38 you will see the following site paydayloansyouknow.com.au . It has only 3 pages , 0 links, PA 1,and DA 1 How it's possible to archive such results? This is the print screen in case you dont see what i am asking about
Intermediate & Advanced SEO | | Webdeal
( http://www.freeimagehosting.net/oa75d Will appreciate any answer?0 -
Unique Ip Hosting Question
We have aged domains that have had unique ips for some time. Batch 1 average 2 years old and are in 1st to 5th place in their rankings. Batch 2 are 8 months old and not ranking at all. Will there be any issues associated with moving them all to a reseller account with a single ip address? In addition batch 1 that has good rankings with unique ips is there ever a possibility they will change our ips without notice or for any reason at all that will change and or fluctuate our rankings?
Intermediate & Advanced SEO | | shandaman0