The XML page cannot be displayed - sitemap.xml
« on: July 21, 2009, 11:34:03 AM »
I seem to be having trouble with my sitemap.xml being generated.

Since I got my standalone sitemap generator working I just assumed everything was correctly generated in sitemap.xml. Since I was getting a successful report email.

I logged in to google webmasters today and it says the following.

Quote from: Google
Empty Sitemap
Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.

I went and opened my sitemap.xml by browser and got the following message

Quote from: Browser
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


XML document must have a top level element. Error processing resource ''.

So I went and  opened the file in an editor and it is completly empty.

I checked the permissions on it and it is 0666.

Any ideas on what I need to do?
« Last Edit: July 21, 2009, 11:36:39 AM by DecalCity »
Re: The XML page cannot be displayed - sitemap.xml
« Reply #1 on: July 22, 2009, 12:50:22 PM »

you have gzip compression option enabled, so you should submit sitemap.xml.gz instead.
Oleg Ignatiuk
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.