Can I add more than one XML sitemap in my Robots.txt File?
-
I have 3 domains all hosted on the same Magento Enterprise Platform. Each domain targets a different county.
.co.uk, .com.au, and .com.
Can I add all three sitemaps in my robots.txt file?
-
As an add-on, I would really suggest you to implement the rel="alternate" hreflang="x-X" tags in your sitemaps.xml in order to better your international SEO efforts and geotargeting.
Check this official post by Google
-
You can certainly add as many sitemaps to your robots.txt file as you want; however, the references in the sitemap should refer to the resources on the domain in question. For example, you won't want to include a sitemap reference on example.com's robots.txt that refers to URLs on example.co.uk.
If the sites have all the same pages, you can just include the same sitemap with relative URLs. You can also just add the correct sitemap to the correct domain in Google Webmaster Tools. Hope that 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
-
Herflang sitemap
I use country and language codes in my website Can i have a herflang sitemap with language code only?
International SEO | | MTBE0 -
Is this setup of Hreflang xml sitemap correct?
Hi, I'm trying to setup hreflang for 2 domains. One is purely a US site and the other domain has the language-country as subdomains. For example: http://www.websiteUSA.com (Targets English - USA) https://www.websiteINT.com/en-CA (Targets English - Canada) https://www.websiteINT.com/fr-CA (Targets French - Canada) https://www.websiteINT/es (Targets Spanish) ..and so on and so forth for about 12 of these international URLs. I created an XML sitemap that looks something like this: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>http://www.websiteUSA.com</loc></url></urlset> <url><loc>https://www.websiteINT.com/en-CA</loc></url> <url><loc>https://www.websiteINT.com/fr-CA</loc></url> Question 1: Is this correct? In my actual file, I have all the countries listed and self-referencing. Question 2: I'm hosting this file at https://www.websiteINT.com/hreflang.xml AND at http://www.websiteUSA.com/hreflang.xml. Is this correct? Question 3: Will this help the SERPs direct english speakers from the US to http://www.websiteUSA.com while show SERPs for say English Speakers in Canada to https://www.websiteINT.com/en-CA? Question 4: For some reason, when I put up the xml site, it only listed each URL once instead of the full XML file. Should I have uploaded a text file instead? It doesn't seem to render correctly. Thank you!
International SEO | | SylviaH0 -
DMoz, can I submit 3 top level domains?
Hi Guys, I have 3 top level domains, does anyone know if it is okay to submit all 3 domains? they all cover different countries, NZ, AUS, USA - The NZ one has been submitted, but our main site is the .com (USA) after running a few adwords campaign we decided to work the .com instead! Does anyone know the terms or guidelines around this?
International SEO | | edward-may0 -
Moving my site to one domain name .com from 3
Hi Guys, I'm ranking really well for my domains in my local geo - im wondering if it will be more effective if i moved the co.nz and com.au over to the .com - the only thing is will i still see my com.au and co.nz results on the .com?
International SEO | | edward-may0 -
Multilingual website - Url problem (sitemap)
At this moment our website both uses the language in the url like "en" and localizes the url itself ("books" in english and "boeken" in dutch). Because of the history of making our website multilingual we have a system that takes the browser language for the localization if the url doesn't contain a language like "en". This means: www.test.com/books = browser language www.test.com/en/books = english language www.test.com/boeken = browser language www.test.com/nl/boeken = dutch language Now for the sitemap this makes it a little troublesome for me because which hreflang is used for which url? 1) The first thing I thought of was using x-default for all urls that get the language of the browser. <code><url><loc>http://www.test.com/books</loc></url></code> But as you can see we now got 2 times x-default. 2) Another solution I thought of was just use the localization of the url to determine the language like: <code><url><loc>http://www.test.com/books</loc></url></code> But now we got 2 of each language for the same page. 3) The last solution I thought of was removing links without a language in the url (except for the homepage, which will still have an x-default) like: <code><url><loc>http://www.test.comen/books</loc></url></code> But for this solution I need to put 301's at pages that are "deleted" and also need to change the system to 301 to the right page. Although the last point isn't really a problem I'm kind of worried that I will lose some of the "seo points" with a 301. (When we changed our domain in the past we had a bad experience with the 301 of our old domain) What do you think would be the best solution for SEO? Or do you have any other suggestions or solutions I haven't thought of.
International SEO | | Anycoin0 -
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 -
.edu or country TLD, which one would be better?
Hi,we are working right know with an Education Instutition located Outside the U.S. I think they would be in a possition where they could get de .edu TLD. Right know they have good rankings in its own country cause they are working with their country specific TLD, and they rank well there. But, of course, a considerable percentage of their students are foreigners, so they are very interested in improving their interantional rankings (note that U.S is not a target market). I was wondering if it would be ok to recommend them to change to the .edu TLD, because all their competitors have that tld too. Whould that TLD increase their domain authority inmediatly? I know that .edu is well consider by google when it sends you a link, so it would be reasonable to think that having a .edu domain would be great, but as this domain is very related with the US and all their markets are outside the U.S, I am not sure about what recommend them. What do you think?? Thank you!!!
International SEO | | teconsite0 -
How can I Get SE results as if browsing from a differetn location?
Hi, I would like to know if anyone has an easy way off allowing me to browse a SE and get results based on as if I was browsing from a different location. EG I am based in the UK and therefore google customises my result as such. However I am working for a client targetting the US, so I need to get SE results as if I was browsing from there. Thanks
International SEO | | James770