XML Sitemaps Generator

Author Topic: Why is my sitemap not valid?  (Read 10158 times)

liz616a

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Why is my sitemap not valid?
« on: August 15, 2012, 08:04:09 PM »
I created my sitemap, then verified it with your verification tool. It says:

XML Validation Results ([external links are visible to admins only])

Characer Set   utf-8
Sitemap is valid   NO

and

I have 10001 of these lines:
Missing xmlns attribute for element html. The value should be: [external links are visible to admins only]

Don't understand. Appreciate some help, thanks.

liz


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Why is my sitemap not valid?
« Reply #1 on: August 16, 2012, 10:14:36 AM »
Hello,

what is your sitemap URL?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

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

liz616a

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: Why is my sitemap not valid?
« Reply #2 on: August 16, 2012, 11:03:07 AM »
Thank you for responding!

it's [external links are visible to admins only]

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Why is my sitemap not valid?
« Reply #3 on: August 18, 2012, 01:12:11 PM »
Hello,

looks like you have html sitemap stored as sitemap.xml, please check that.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

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

liz616a

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: Why is my sitemap not valid?
« Reply #4 on: August 18, 2012, 07:08:21 PM »
I had no html file, so I renamed the sitemap.xml to sitemap.html but that did nothing to correct the problem. I noticed when changing it to html it becomes a Firefox html document, but opens with Explorer. Could that be the problem? 

My original files were sitemap.xml, sitemap.xml.gz, sitemap_news, sitemap_video, sitemap_images (which all 3 are xml files) and urllist.txt.gz file. Did not have any sitemap.html file originally.

Liz

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Why is my sitemap not valid?
« Reply #5 on: August 20, 2012, 02:01:03 PM »
Hello,

try to submit sitemap.xml.gz.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

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

liz616a

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: Why is my sitemap not valid?
« Reply #6 on: August 20, 2012, 02:51:46 PM »
Sorry, doesn't work - here's what I get

XML Validation Results ([external links are visible to admins only])
[external links are visible to admins only]

Sorry, I am unable to validate this document because its content type
is application/x-gzip, which is
not currently supported by this service.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Why is my sitemap not valid?
« Reply #7 on: August 21, 2012, 11:53:40 AM »
You need to submit it to google: https://www.google.com/webmasters/tools/dashboard
Validator doesn't support compressed files.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

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

liz616a

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: Why is my sitemap not valid?
« Reply #8 on: August 21, 2012, 12:20:37 PM »
ok, thanks

How do I get an html sitemap?

My original files were sitemap.xml, sitemap.xml.gz, sitemap_news, sitemap_video, sitemap_images (which all 3 are xml files) and urllist.txt.gz file.

Did not have any sitemap.html file originally.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Why is my sitemap not valid?
« Reply #9 on: August 22, 2012, 08:32:02 PM »
Are you using standalone generator script? There is a setting in it to enable HTML sitemap.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

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

Magichand

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Why is my sitemap not valid?
« Reply #10 on: September 17, 2012, 11:21:45 AM »
Dear Admin,

I am able to validate the sitemap but with 2 warnings

Warnings   
Missing "charset" attribute for
"text/xml" document.
No DOCTYPE found! Checking XML syntax only.

Is it necessary to resolve this issue. If yes, how?

Thank you.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Why is my sitemap not valid?
« Reply #11 on: September 18, 2012, 05:11:19 AM »
Hello,

no doctype is used in xml sitemap: http://www.sitemaps.org/protocol.html

Replied to your PM.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

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

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2