Welcome to WebmasterWorld Guest from

Forum Moderators: goodroi

Message Too Old, No Replies

Can I have multiple sitemap.xml's for Google?

multiple sitemaps xml html

2:48 am on Jan 21, 2013 (gmt 0)

New User

5+ Year Member

joined:Jan 20, 2013
posts: 26
votes: 0

Hi. Like most of us I have many different alias domains all directing to the same site with keyword rich aliases to help drive more traffic. So I have & want different xml sitemaps for each alias versions that I want Google to index. I keep the main one in root, and the rest in a subfolder called sitemaps. I'm getting "Unsupported file format" ERROR. Very nubulous error with a link to information that also doesn't help. What's the usual reason/solution for this error "Unsupported file format" when it's already (I think?) in the right .xml format, created properly with, in this case, Gsitecrawler's tool. My main one is getting indexed, but all the rest in the subfolder are getting either this error or saying that they are "html" (but they're .xml). I have to get this fixed. Thanksfor taking the time to help me out.
3:00 am on Jan 21, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 2002
posts: 772
votes: 14

Welcome to WebmasterWorld 2kegx!

Try adding two separate sitemap files in Google Webmaster Tools. Google does give a bit more error feedback there in my experience. There are a number of online tools to generate them.

The most common usage of multiple file reported here is on huge sites that exceed the 50,000 entries per file limitation. Others have used them in hopes of enhancing deep page indexation. Some have used them to resubmit pages recently moved.
3:55 am on Jan 21, 2013 (gmt 0)

New User

5+ Year Member

joined:Jan 20, 2013
posts: 26
votes: 0

Thanks Hoople. Yes, I have them all in Google Webmaster Tools. That's where I'm getting the error. They are only a few hundred entries max per sitemap. I wonder what's going on.
9:26 am on Jan 21, 2013 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 237

welcome to WebmasterWorld, 2kegx!

have you validated your sitemap?
what Content-Type header is sent with the response when you GET your sitemaps?
10:32 am on Jan 21, 2013 (gmt 0)

New User

5+ Year Member

joined:Jan 20, 2013
posts: 26
votes: 0

Thanks Phranqe. I found the problem. Basically, I'd had a web.config file that was working on conjunction with a php file to privatize various extensions (eg any .txt, .xls, .xml files would get a 404 error. So when I tried to submit those .xml sitemaps, they got redirected to the 404 "html" which is why Google kept calling them the wrong format. Following deletion of the ".xml" part of those codes/arrays, all sitemaps submitted! :) Only bummer is now everyone/competitors can see all my keyword rich URLs and copy them and I put alot of work into them. Is there another solution to block competitors from seeing those sitemaps? I know the usual methods like "don't call'em sitemap and hide'em various places, but looking for some other way I guess.

In the meantime, since I'm talking about my web.config file (indirectly) since I'm IIS7, I'm getting a lot of unwanted traffic from a particular blog and I want to block that domain altogether from my site. How can I add an entire domain (without doing IPs preferably) within the web.config?

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members