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
-
Homepage organization schema question: logo lives on amazon server, can I call that out on the structured data?
Basically, the homepage organization schema has called out the logo, but it lives on the amazon server. We're having issues with Google rendering the correct logo on the knowledge graph. The URL for the amazon asset looks something like this: <brandname>-assets.s3-us-west-2.amazonaws.com/<logo>.png</logo></brandname> Calling that out on the organization structured data for the logo is okay right?
Intermediate & Advanced SEO | | imjonny1230 -
Do href lang tags need to be implemented at blogpost level?
Hey guys, Our site targets multiple territories. We use subfolders and hreflang tags on the site (built in WordPress) at a page level. We've added our hreflang tags manually in the section of each page. We're just re-doing the blog and we want to know if we need to add these tags to each individual blog post and if we do, how we would do it? Our developers have put them in at blog landing page level and told us that this will be fine. E.g.: /de/blog/ /gb/blog/ /uc/blog/ They have a slight tendency to push back on things though, and we just want to be sure we're doing this right. Hreflang tags are sooooo complicated so hoping you fine people can shed some light on the issue. Cheers!
Intermediate & Advanced SEO | | Twetman0 -
Base href + relative link href for canonical link
I have a site that in the head section we specify a base href being the domain with a trailing slash and a canonical link href being the relative link to the domain. <base <="" span="">href="http://www.domain.com/" /> href="link-to-page.html" rel="canonical" /> I know that Google recommends using an absolute path as a canonical link but is specifying a base href with a relative canonical link the same thing or is it still seen as duplicate content?
Intermediate & Advanced SEO | | Nobody16116990439410 -
Multilingual Sitemaps
Hey there, I have a site with many languages. So here are my questions concerning the sitemaps. The correct way of creating a sitemap for a multilingual site is as followed ( by the official blog of Google ) <urlset xmlns="</span>http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> http://www.example.com/loc> <xhtml:link rel="alternate" hreflang="en" href="</span>http://www.example.com/"/> <xhtml:link rel="alternate" hreflang="de" href="</span>http://www.example.com/de"/> <xhtml:link rel="alternate" hreflang="fr" href="</span>http://www.example.com/fr"/><a href=" http:="" www.example.com="" fr"="" target="_blank"></xhtml:link><a href=" http:="" www.example.com="" de"="" target="_blank"></xhtml:link><a href=" http:="" www.example.com="" "="" target="_blank"></xhtml:link><a href=" http:="" www.sitemaps.org="" schemas="" sitemap="" 0.9"="" rel="nofollow" target="_blank"></urlset> **So here is my first question. My site has over 200.000 pages that all of them support around 5-6 languages. Am I suppose to do this example 200.000 times?****My second question is. My root domain is www.example.com but this one redirects with 301 to www.example.com/en should the sitemap be at ****www.example.com/sitemap.xmlorwww.example.com/en/sitemap.xml ???****My third question is as followed. On WMT do I submit my sitemap in all versions of my site? I have all my languages there.**Thanks in advance for taking the time to respond to this thread and by creating it I hope many people will solve their own questions.
Intermediate & Advanced SEO | | Angelos_Savvaidis0 -
A few important mobile SEO questions
I have a few basic questions about mobile SEO. I'd appreciate if any of you fabulous Mozzers can enlighten me. Our site has a parallel mobile site with the same urls, using an m. domain for mobile and www. for desktop. On mobile pages, we have a rel="canonical" tag pointing to the matching desktop URL and on desktop pages we have a rel="alternate" tag pointing to the matching mobile URL. When someone visits a www. page using a mobile device, we 301 them to the mobile version. Questions: 1. Do I want my mobile pages to be indexed by Google? From Tom's (very helpful) answers here, it seems that I only want Google indexing the full site pages and if the mobile pages are indexed it's actually a duplicate content issue. This is really confusing to me since Google knows that it's not duplicate content based on the canonical tag. But - he makes a good point - what is the value of having the mobile page indexed if the same page on desktop is indexed (I know that Google is indexing both because I see them in search results. When I search on mobile Google serves the mobile page and when I search on desktop Google serves me the desktop page.)? Are these pages competing with each other? Currently, we are doing everything we can do ensure that our mobile pages are crawled (deeply) and indexed, but now I'm not sure what the value of this is? Please share your knowledge. 2. Is a mobile page's ranking affected by social shares of the desktop version of the same page? Currently, when someone uses the share buttons on our mobile site, we share the desktop url (www. - not m.). The reason we do this is that we are afraid that if people are sharing our content with 2 different url's (m.mysite.com/some_post and www.mysite.com/some_post) the share count will not be aggregated for both url's. What I'm wondering is: will this have a negative effect on mobile SEO, since it will seem to Google that our mobile pages have no shares, or is this not a problem, since the desktop pages have a rel="alternate" tag pointing to mobile pages, so Google gives the same ranking to the mobile page as the desktop page (which IS being shared)?
Intermediate & Advanced SEO | | YairSpolter0 -
My Site is built for a U.S. audience, but my xml:lang in view source is en-gb?
Hi Ya'll, I have a U.S. based site with english content, but my xml lang in my view source ode is in en-gb. Should i change it to "en-US"? Or should i just change it to just "en", that way i can target all english speaking countries..... And if i do make the switch, does it make a difference in my traffic and SEO for the U.S.? Thank you!
Intermediate & Advanced SEO | | Shawn1240 -
Content question about 3 sites targeted at 3 different countries
I am new here, and this is my first question. I was hoping to get help with the following scenario: I am looking to launch 3 sites in 3 different countries, using 3 different domains. For example the.com for USA, the .co.uk for UK , and a slightly different .com for Australia, as I could not purchase .com.au as I am not a registered business in Australia. I am looking to set the Geographic Target on Google Webmaster. So for example, I have set the .com for USA only, with .co.uk I won't need to set anything, and I will set the other Australian .com to Australia. Now, initially the 3 site will be "brochure" websites explaining the service that we offer. I fear that at the beginning they will most likely have almost identical content. However, on the long term I am looking to publish unique content for each site, almost on a weekly basis. So over time they would have different content from each other. These are small sites to begin with. So each site in the "brochure" form will have around 10 pages. Over time it will have 100's of pages. My question or my worry is, will Google look at the fact that I have same content across 3 sites negatively even though they are specifically targeted to different countries? Will it penalise my sites negatively?
Intermediate & Advanced SEO | | ryanetc0 -
Question about multiple websites in same field
I know what most people say that it is best to only have the 1 website for focus but if we can put this to the back of our minds, if we create 2 different websites that are totally different designs (one upmarket one and one targeting the cheaper market) but in the same fields (printing) and go after 80% of the same keywords is this ok (could we be penalized). Please note we will not be interlinking the websites, the website .will be on different servers and the names will be registered under different people (2 partners in the business). We will however be accessing webmaster tools from the same location.
Intermediate & Advanced SEO | | BobAnderson0