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!
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
-
Using same URL for both "en" and "en-us" hreflang tags
Hi,I have a question. Is it okay if I use the same URL for both "en" and "en-us" hreflang tags? For example, for my en-us page: Is this okay with Google? What are your thoughts on this?
International SEO | | Avid_Demand0 -
HTTPS and server questions
if we are targeting the US from the UK, would it make a difference if we have an https not set to any location or one registared in the US? we are going to also use a CDN (like cloudfront) in the U.K. Would that be a good idea or an actual server in the US. I think the issue we have is the competition is strong so we need all of our ducks in a row.
International SEO | | BobAnderson0 -
Multi Regional Website Best Practices
Hi there, I have a website that is targeting 3 countries AU/US & NZ. I have set up hreflang tags for each page on each of the site however I am having difficulties getting it work right. I read this article which was a great insight into the hreflang tags. https://mza.seotoolninja.com/blog/hreflang-behaviour-insights and as a result I have implemented hreflang tags in the following manner: When users access the root domain http://[website] it will redirect the user to their locale with a 302 redirect. I have a few questions:
International SEO | | nathanfranklin
1. When building my external link profiles, I'm not sure if I should be building link profiles for http://[website]/ or for the geo graphical pages (http://[website]/aus/ etc..). Note that the http://[website]/ is never used, it just issues a 302 to the actual geographical location. 2. It seems that the hreflang tags are not working correctly. Perhaps its the result of the 302 on the root page, but in google.com.au (using the link http://www.google.com.au/search?hl=en&gl=au&pws=0&q=[branded search]) I would expect that I should see the search results for /aus/ given the fact that the hreflang tags are setup as en-au. Instead I am seeing the root domain page. Is that correct or should it be showing all the pages with /aus/. ALSO If I do a search in google thailand (http://www.google.com.au/search?hl=en&gl=th&pws=0&q=[branded search]) it returns the /aus/ version where it should be showing the /us/ using the x-default hreflang tag. In google webmaster tools I have setup 4 site profiles:
http://[website]/
http://[website]/us/
http://[website]/aus/ (Targeted to Australia)
http://[website]/nz/ (Targeted to New Zealand) Any help would be appreciated. Thanks Nathan1 -
E-Commerce site in 2 languages - Duplicate content or not?
How does Google view this? Our current site works like:
International SEO | | bjs2010
www.domain.com/EN - English
www.domain.com/ES - Spanish All products are the same, just different language and different URL for them - is this good or bad? I thought of either Going with .co.uk or .com for "English" and a .es for "Spanish"
OR Subdomaining it. www.es.domain.com and www.en.domain.com Any advice appreciated!0 -
Is having duplicated content on different domains a problem when using alternate tag, but no canonical?
We will be launching a couple of new language versions. I understand that ccTLD is mostly considered as best option, however I thought that to start with it might be better to launch the new language version first on a subdirectory of our established domain with strong backlink profile as it may rank much better until I can attract some strong links to new ccTLD. I would wait for the pages of new language versions to be indexed on the main domain and then after a month launch the same content paralell on the ccTLD setting up an alternate tag in the main domain pointing to the ccTLD. I would not setup any canonical tag. As I understand google would rank whatever of the 2 versions ranks higher. Should not cause duplicated content issues right?
International SEO | | lcourse
Any thoughts? EDIT:
For clarification. The language we are launching are mostly spoken in several countries. E.g. for Portuguese I would add in main domain an altnernate tag for Brazilian visitors to Brazilian ccTLD, but no alternate tag for Portuguese visitors. For Corean I would add in main domain an alternate tag for visitors in south corea, but not one for visitors in north corea.0 -
How do I successfully verify my site for Baidu's webmaster tools?
Instructions for verifying a website via file validation for Baidu's webmaster tools are pretty vague. Does anyone know if the process is the same as Google Webmaster Tools where the verification string must appear in the URL and in the content of the file? Also, does it truly have to be verified within 2.6 hours? Appreciate any feedback from people who have successfully verified their site.
International SEO | | sigmaaldrich0 -
Reciprocal Links between my own sites ?
Is is ok to have Reciprocal Links between sites you really own ? We have a website that has been regionalized to 5 countries, using 5 different domains. The content is exclusive for the country but the keywords used might be similar. We have all the domains under the same Analytics account and all of them share the same Adsense code. Can I be penalized by Google for making reciprocal links between them ? Is something usefull for improving the SEO rank or I should avoid doing it ? Thanks in advance
International SEO | | martincad0 -
Geolocation Questions
I'm looking to combine my company's US web presence and its United Kingdoms web presence under one common look-feel and company name. Seeing as how we are fairly small, I'm thinking the best way to do this would be to simply create a "uk" folder and creating UK specific content in there. I would also like to have some geolocation on the site to make sure users receive the content that is relevant to them. With that in mind, here my questions: 1. Would creating a "locations" page with links between the UK and the US versions of the site, be enough so that Google is sure to crawl all content? (As I understand it, Google would appear as an American visitor to my geolocation script, and wouldn't see UK content unless there was a page that would explicitly direct it in that direction, correct?) 2. I've read elsewhere that I can target specific folders to a specific geographic target using Google Webmaster Tools. However, if the "main" site is US specific (there would not be a "us" folder) Setting the geographic target for JUST the "uk" folder would still work? 3. Finally, there will unfortunately be some duplicate content between the two sites. (we have a catalog of courses, for example, that contain different groupings of courses between the two sites, but the individual courses will appear with the same descriptions within the sites) What would be the best way to deal with something like that? I would hate to point all canonical links back to the US "main" site on every instance of duplicates, but I'm not sure how else to deal with it? Thanks for any help you can give. I know this is all a bit top level, but I'm a bit paralyzed with fear of starting, seeing as how I've never had to deal with these questions before...
International SEO | | TroyCarlson0