How to best set up international XML site map?
-
Hi everyone,
I've been searching about a problem, but haven't been able to find an answer.
We would like to generate a XML site map for an international web shop. This shop has one domain for Dutch visitors (.nl) and another domain for visitors of other countries (Germany, France, Belgium etc.) (.com). The website on the 2 domains looks the same, has the same template and same pages, but as it is targeted to other countries, the pages are in different languages and the urls are also in different languages (see example below for a category bags).
Example Netherlands:
Dutch domain: www.client.nl
Example Dutch bags category page: www.client.nl/tassenExample France:
International domain: www.client.com
Example French bags category page: www.client.com/sacsWhen a visitor is on the Dutch domain (.nl) which shows the Dutch content, he can switch country to for example France in the country switch and then gets redirected to the other, international .com domain. Also the other way round.
Now we want to generate a XML sitemap for these 2 domains. As it is the same site, but on 2 domains, development wants to make 1 sitemap, where we take the Dutch version with Dutch domain as basis and in the alternates we specify the other language versions on the other domain (see example below).
<loc>http://www.client.nl/tassen</loc>
<xhtml:link<br>rel="alternate"
hreflang="fr"
href="http://www.client.com/sacs"
/></xhtml:link<br>Is this the best way to do this? Or would we need to make 2 site maps, as it are 2 domains?
-
Hi.
Interesting, I didn't see that article. Well, then, I guess, it's matter of preference.
I'd still go with different sitemaps. cause managing them individually allows script and code based automation.
-
Hi Dmitrii,
Thanks for your reply. At first, I also thought that using multiple domains in one sitemap was not possible, however I came across this article from Google that mentions this possibility:
https://support.google.com/webmasters/answer/75712?hl=en
Does anyone have experience with this?
-
Hi.
Sitemaps are done per domain, that's for sure. And use of hreflang is just saying that "Here is a link to a different language version of the website you're on right now". So, it doesn't cover both websites.
Example:
You went to Paris and bought a map of Paris with labels all in french. As you're looking at that map, you have no clue what those labels say, since you can't speak/write/read French. Then you notice that at the bottom of this map there is a sentence "To buy a map of Paris in english, go to such-and-such store".
Now, does that sentence (reference) help you anyhow to translate what's on a map you're holding in your hands? No.The same thing with sitemaps. Reference to a different language version of the website doesn't pass the content of that website. Especially, since you have all URLs in different languages.
Long answer short - you'll need to sitemaps.
Hope this makes sense and 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
-
International corporate SEO - menu and preferences
Hi all, for internationalization we have used subfolders structure (e.g. domain.com/us/) and since we have approx 150 countries to cover, then country selector is quite a link-base, especially if pages itself can have even several hundreds of internal links as well. Currently, all links to other countries are set as rel="nofollow" and I'm planning to change them to "follow" to distribute a juice. Do you please have an experience with such internal links voluminous websites and this follow/nofollow settings? Also we are having and issue with other countries outperforming local search. So for example in US, searching for kind of "Brand America" keyword, our UK branch outperforms US. Hreflangs are set in the sitemaps and each branch (country) is set in search console correctly as well. Since there are some issues with sitemaps (e.g. not actual links, or links returning 404), I assume that google is not using these sitemaps therefore hreflang information is lost as well. Am I correct ? thank you in advance, Tom
International SEO | | execom990 -
International SEO Question: Using hreflang tags across two different TLDs.
Hi! My UK based company just recently made the decision to let the US market operate their ecommerce business independently. Initially, both markets were operating off the same domain using sub-directories (i.e: www.brandname.com/en-us/ , www.brandname.com/en-gb/ ) Now that the US team have broken away from the domain - they are now using www.brandnameUSA.com while the UK continues to use www.brandname.com/en-gb/. The content is similar across both domains - however, the new US website has been able to consolidate several product variations onto single product pages where the UK website is using individual product pages for each variation. We have placed a geo-filter on the main domain which is 301 redirecting North American traffic looking for www.brandname.com to www.brandnameUSA.com However, since the domain change has taken place, product pages from the original domain are now indexing alongside the new US websites product pages in US search results. The UK website wants to be the default destination for all international traffic. My question is - how do we correctly setup hrlang tags across two separate TLDs and how do we handle a situation where multiple product pages on the "default" domain have been consolidated into one product page on the new USA domain? This is how we are currently handling it: "en-us" href="https://www.BRANDNAMEUSA.com/All-Variations" /> href="https://www.BRANDNAMEUSA.com/All-Variations" />
International SEO | | alexcbrands0 -
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 -
Can multiple hreflang tags point to one URL? International SEO question
Moz, Hi Moz, Can multiple hreflang tags point to a single URL? For example, if I have a Canadian site (www.example.com/ca) that targets French and English speakers can I have the following: or would I use: Any insight would be very helpful and greatly appreciated! Thank you in advance!
International SEO | | DA20131 -
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 -
Is International Geotargeting with Duplicate Content Effective?
A company located in Canada is currently targeting Canada through the geotargeting setting in Google Webmaster Tools. Google.ca rankings are good, but Google.com rankings are not. The company would like to gain more traction for US people using google.com. The idea on the table is to set up a subfolder www.domain.com/us/ and use WMT to designate this version for the US. Here's the kicker: the content is exactly the same. Will Google consider the US version duplicate content? Is this an effective way to target US and Canada at the same time? Is it better to forget a duplicate US site altogether and use the "unlisted" setting in WMT?
International SEO | | AliveWired0 -
Best local business directories for a digital agency based in London
Does anyone know the best local business directories for SEO purposes. Our business is a digital agency based in London (United Kingdom) Thanks Rob
International SEO | | roberthseo0 -
Intentional redirect for international visitors to a website
We are doing PPC for a new client, and using Clicktale to improve conversion rates. However, Clicktale won't work because the client does not want international visitors looking at their website (competitive reasons! - yeah don't get me started...). They have a redirect on for all international visitors which points to a "coming soon..." page Are there any SEO implications on traffic in their own country (they currently do rank for terms)? I'd like to go back with a strong case for them removing any international redirect. Thank You
International SEO | | CleverClicks0