Mobile app version of vmapp.org
Login or Join
Nimeshi995

: Can a sitemap index file reference sitemap files under different domains? My company owns several domain names. We also host websites for our users at their custom domains. Our domains: company.com

@Nimeshi995

Posted in: #Indexing #MultipleDomains #Seo #Sitemap #XmlSitemap

My company owns several domain names. We also host websites for our users at their custom domains.

Our domains:


company.com
product1.com
product2.com


Users's domains:


user1.com
user2.com


Currently, we host XML Sitemap files at the root of all of our users' websites (e.g. www.user1.com/sitemap.xml). These sitemap files contain all the URLs of that user's website.

To possibly improve the search engine indexing of our users' websites, we would like to start hosting a high-level, sitemap index file at the root of company.com which lists all of our users' (and preferably our products') websites' sitemap.xml files.

So something like this:
www.company.com/sitemap-index.xml
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.company.com/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>http://www.product1.com/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>http://www.product2.com/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>http://www.user1.com/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>http://www.user2.com/sitemap.xml</loc>
</sitemap>
</sitemapindex>


According to the Sitemaps documentation on index files, it isn't possible to have a sitemap index file references sitemaps files outside of it's own domain.


Note: A Sitemap index file can only specify Sitemaps that are found on the same site as the Sitemap index file. For example, www.yoursite.com/sitemap_index.xml can include Sitemaps on www.yoursite.com but not on www.example.com or yourhost.yoursite.com.

In a different section of the same documentation, it says that it is possible to have regular sitemap files (not sitemap index files) reference URLs outside of the domain which hosts the sitemap file.


Sitemaps & Cross Submits
To submit Sitemaps for multiple hosts from a single host, you need to "prove" ownership of the host(s) for which URLs are being submitted in a Sitemap.
...
By default, this will result in a "cross submission" error since you are trying to submit URLs for host1.com through a Sitemap that is hosted on sitemaphost.com (and same for the other two hosts). One way to avoid the error is to prove that you own (i.e. have the authority to modify files) host1.com. You can do this by modifying the robots.txt file on host1.com to point to the Sitemap on sitemaphost.com.

My question(s):


First of all, Can this 'workaround' for cross-submits work with sitemap index files as it does with normal sitemap files? I don't want to go through the effort to implement it without knowing it is even possible. Unfortunately, the documentation doesn't say either way.
Second, is what I am attempting even a good idea? We want to boost SEO for all of the websites we manage. We think linking the sitemaps together will help but we are not sure. Does anyone have any experience with complicated sitemaps and index files who are willing to share their experience?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi995

3 Comments

Sorted by latest first Latest Oldest Best

 

@Miguel251

As far as Google is concerned, it is possible to make "cross site submissions" of XML sitemaps if you are a "verified owner of the sites" (e.g. have proven your ownership in the Google Webmaster Tools).

You could - for example - as well place all sitemaps on company.com.

See this google help page for detailed instructions: Simplify multiple sitemap management

For your second question: Sitemaps are a good thing for indexing (if done right, so you should watch out for errors). In some cases (say, if you are webmaster of a news site) your ranking depends on how fast Googlebot picks up freshly published pages. So, sitemaps are no general ranking factor, but far from being useless for your rankings.

10% popularity Vote Up Vote Down


 

@Miguel251

To answer a couple questions, I would have to believe it would treat sitemap index files the same way, the whole point of adding the line: "Sitemap: http: //www.sitemaphost.com/sitemap-host1.xml" to the robots.txt of the website that is not hosting it's own sitemap is just to show that you have control over the website. I wouldn't think the spiders would behave differently.

The answer to your second question is mostly an opinion. If your set up requires you to be that complex, it may be a good idea. If not, it's typically easier to have each of the domains host their own sitemaps. I have spent some time reading through SEO articles, and I haven't read anywhere about hosting your sitemaps off-site for a better rank.

The sitemap doesn't inherently boost your SEO, it ensures that the search engine spiders reach your pages faster. It's ultimately your page content (and external links in) that get the rankings.

So, if this will help you manage your sites easier, try it out.

References:
Sitemaps.org Proticol - www.sitemaps.org/protocol.html Sitemaps.org Home - www.sitemaps.org/index.html

10% popularity Vote Up Vote Down


 

@Vandalay111

As you already aware of google sitemap guidelines, i won't dig more into it. Based on my experience, i don't think you can keep other domain's sitemap at your main domain.

I am completely agree with your above comment. it is not necessary to have sitemap file for improving search engine rankings. It just help search engine crawlers to find pages on your website easily.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme