Multi-lingual Site (Tags & XML SiteMap Question)
-
We have two sites that target users in two different countries in different languages in the following manner:
Site 1
es.site1.com - Spanish version
Site 2
site2.com/francais/..............
Navigation and content are translated into the foreign language from English
What is the best way to let Google know about these multi-lingual pages:
A. Add the rel="alternate" and hreflang= in the source code for the hunders of pages we have.
B. Or is there a tool we can use to crawl and create XML site maps for different language pages. What do we need to do in the XML site map so that Google know that sitemap1.xml for example relates to Spanish as an example
many thanks
-
Hi there,
There's much more you can do:
- Link all of your language versions using a crawlable language menu. Like this Google will be able to initially crawl and index these versions.
- Create a Google Webmaster Tools profile for each one of your language versions independently, like this you will be able to generate a specific XML for each (besides tracking each one of them much more easily), and if they are not only language targeted but also, country targeted, you can also geolocate them through GWT too.
- Add to each specific XML sitemap the hreflang annotations referring to the language of each one of your websites as specified here. To help you with this you can use this MediaFlow tool.
- Add the hreflang annotations in the HTML too, in the head section of the HTML of each one of your different pages, as specified here.
The more of these you do, the easier will be for Google to identify that these new version of your sites are targeting these additional languages.
Thanks!
-
Hi, you can use xenu (which is free) or screaming frog if you have the license. They're both great crawling tools.
Then the most difficult part is the association among all the different urls of each language. If you have any pattern which may help associate those pages you're done.
Example:
EN: www.domain.com/page/node-123
ES: www.domain.com/pagina/nodo-123etc etc.
In that sense with excel you can easily isolate the id of each page and build the xml with functions, since the XMl is pretty straightforward:
="<url><loc>"&URL&"</loc><xhtml:link < strong="">rel="alternate"** hreflang="de"**** href="""&GERMAN URL&""" />****<xhtml:link< strong=""> rel="alternate"**** hreflang="es"**** href="""&SPANISH URL&""" /></xhtml:link<></xhtml:link <>**</url>"
-
Hi Mememax,
Many thanks for the response.
Just so that I am super clear, which site map producing software would you recommend where I could specify such a command to be added for a site map for a specific directory or sub-domain.
To me, the Google article seems to be suggesting that the hreflang commend needs to be added to each url in the site-map, and we have hundreds if not thousands.
Best
-
Hi Hola (sorry for the redundancy ), if adding the hreflang in your headers is too tricky and slows your page you may use the tag in the xml sitemap as you correctly said. In this article you have examples on how your sitemap should look like to have google fully understand it. You have to set up a standard language (in the article the base is english) and then add tags to tell google which is each language focused on. If your spanish language is focused to any spanish version you can just add es if your spanish version is focused to Spain you'll have to specify es-ES or es-MX if it's focused on mexico. Hope this helps!
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
-
Targeting/Optimising for US English in addition to British English (hreflang tags)
Hi, I wonder if anyone can help? We have an e-commerce website based in the UK. We sell to customers worldwide. After the UK, the US is our second biggest market. We are English language only (written in British English), we do not have any geo-targeted language versions of our website. However, we are successful in selling to customers around the world on a regular basis. We have developers working on a new site due to launch in Winter 2021. This will include a properly managed site migration from our .net to a .com domain and associated redirects etc. Management are keen to increase sales / conversions to the US before the new site launches. They have requested that we create a US optimised version of the site. Maintaining broadly the same content, but dynamically replacing keywords: Example (clothing is not really what we sell): Replacing references to “trainers” with “sneakers”
International SEO | | IronBeetle
Replacing references ‘jumpers with “sweaters”
Replacing UK phone number with a US phone number It seems the wrong time to implement a major overhaul of URL structure, considering the planned migration from .net to .com in the not too distant future. For example I’m not keen to move British English content on to https://www.example.com/en-gb Would this be a viable solution: 1. hreflang non-us visitors directed to the existing URL structure (including en-gb customers): https://www.example.com/
2. hreflang US Language version of the site: https://www.example.com/en-us/ As the UK is our biggest market It is really important that we don’t negatively affect sales. We have extremely good visibility in SERPS for a wide range of high value/well converting keywords. In terms of hreflang tags would something like this work? Do we need need to make reference to en-gb being on https://www.example.com/ ? This seems a bit of a ‘half-way-house’. I recognise that there are also issues around the URL structure, which is optimised for British English/international English keywords rather than US English e.g. https://www.example.com/clothing/trainers Vs. https://example.com/clothing/sneakers Any advice / insight / guidance would be welcome. Thanks.0 -
What strategy is better for a multilingual site for the SEO point of view?
Hi everyone, in a case for a site with two languages like spanish and english, how would do you deal with it? I can see 4 cases, which is better?? 1. With differents domains: mydomain.es (for spanish version) and mydomain.com (for english version). 2. With subfolder mydomain.com/es/ and mydomain.com/en/ 3. With Subdomain: es.mydomain.com and en.mydomain.com 4 With URL translation (any url is translated in ther languages but not use of subdomain or subfolder): mydominain.com/hola and mydomiain.com/hello Thanks very much for your answers (i love this forum). 🙂
International SEO | | webtematica0 -
Href lang tag - do I need it?
Hey Guys! I have a multi-lingual site in Switzerland serving french and german content. URL structure looks like this: homepage (main) http://www.exmaple.ch/ German http://www.exmaple.ch/de/ French http://www.exmaple.ch/fr/ You can choose a drop down on every page to convert the page into french or german. So there are basically two seperate sites, URL's do not cross over i.e. I have no french pages linking to german pages, it is all pretty good. The default language is german. I have checked in Google.ch/ in both languages french and german for which pages are being served up and they seem all relevant, i.e. on french browser settings when I go to google.ch I see french pages being served and vice versa. My question....Do I need href lang tags? Cheers all!
International SEO | | eLab_London0 -
International advice.... can anyone help and check my site?
Hi ALL, I'm running 3 sites, internationally .com, com.au and co.nz Can anyone please look at my site and give me feedback about the hreflang tags, I ran a W3C and i have errors stating https://validator.nu/?doc=http%3A%2F%2Fzenory.co.nz for www.zenory.com and its relevant domains
International SEO | | edward-may0 -
E-commerce : 1 site per country or 1 site per language?
I'm working with an European e-commerce; they already have a French website with a .fr domain. They want to target the Belgium with a .be domain and the Nederland with a .nl domain. Belgium = 50% dutch, 50% French. Is it better to do 3 websites, one per country, or 2 websites, one per language ? Thinking to SEO, costs, VAT management, what is your opinion?
International SEO | | johnny1220 -
Google Analytics & Webmaster Tools Filtering
I've just set up a client who uses internationalization on Google Webmaster tools and Google Analytics. For easier management they opted to use subfolders rather than subdomains or cctlds. So I set up a Google Analytic Property, with one Unfiltered profile, and another 3 profiles filtered per language. With the main language English being exclude anything starting /fr/ /de/ as it resides on root. The filters seem to work fine; however after linking this to the Google Webmaster Account to be able to access Search Engine Optimization I do not seem to get any language filtered data. I was wondering if someone had any idea or possible solution to this problem. As I would expect to at least have the Landing Pages if not exactly the keywords filtered by the same criteria that the rest of the data is being filtered. I know there's also an option to create a separate webmaster tools account, however this way I still cannot filter just the English; and I cannot link it to all the separate profiles.
International SEO | | jonmifsud0 -
Will website with tag hreflang pass link juice to other country/language version of website?
For example, I have a website XXX.com and I made hreflang tags to other country/language versions of website: ru.XXX.com (for Russia/Russian) XXX.com.ua (for Ukraine/Russian) ua.XXX.com (for Ukraine/Ukraine) Then I will acquire links to XXX.com. The question is: will XXX.com pass link juice to websites ru.XXX.com, XXX.com.ua and ua.XXX.com. Will these websites rank in their countries if I will acquire links ONLY to XXX.com? I looked at https://support.google.com/webmasters/answer/189077?hl=en, but haven't found what google think about that. Thank you in advance. I will appreciate your help.
International SEO | | Kabanchik0 -
Multi-National Website Demarcation in Organic Search
We launched our business in the UK many years ago using a .com domain and have built up good link equity back to our www site. Last year, we launched the same business in the US and host the US site on a "us." sub domain. We have used Google Webmaster Tools to demarcate the two websites so that the www site is set to target the UK and the "us." sub domain is set to target the US. Our organic search results from Google UK for the UK business are fine but when our US customers Google brand terms the www UK site takes precedence in organic search. To complicate this further, the sitelinks within the search results include a mixture of pages from the www UK site and the "us." US site. Google clearly has some difficulty understanding that the two sites are for two different geographic audiences. We have a good relationship with Google and they have indicated (with appropriate disclaimers) that we might consider aligning the URL structures for both sites to reduce the precedence that the www site currently receives. The www home page will become an International portal and the UK and US URL structures will be aligned. We have two options: Change both sites to subdomains so that we have "uk.xxxxx.com" and "us.xxxxx.com" linked to an International portal at the www subdomain Use sub folders so that we have "www.xxxxx.com/uk/" and "www.xxxxx.com/us/" again linked from the www subdomain We're comfortable with use of 301 redirects and canonicals to change the structure in a search engine friendly way but cannot agree internally whether sub domains or sub folders is the way to go. Unfortunately we're to far down the line to seperate by tld. Anyone have a strong opinion on the best approach? Thanks, Jeremy
International SEO | | www.webuyanycar.com0