Sitemap index file doesn't properly declare the namespace


(Brent) #1

When testing my sitemap.xml with google I constantly get:

Your Sitemap or Sitemap index file doesn’t properly declare the namespace. Expected: http://www.w3.org/1999/xhtml Found: http://www.sitemaps.org/schemas/sitemap/0.9

How in the world do I fix this?

Here is a copy of my current sitemap: http://www.dropbox.com/s/ube1fbu073ou88p/sitemap.xml


(LJ) #2

Doesn’t appear you have a site map at all for the domain.

http://rescuingjesusfromchristianity.com/TrueJesus2.html/sitemap.xml produces a 404 Not Found error.

How have you created your site map?


(Jason Bostick) #3

He’s got it here: http://rescuingjesusfromchristianity.com/sitemap.xml

I did notice that Brent’s sitemap has an extra address in the “urlset” field. I don’t know if that’s meaningful, but just comparing it to my own (or the Realmac one, for example - https://www.realmacsoftware.com/sitemap.xml).

The former has:

<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

The latter has:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

Like I said, I don’t know if that matters or not. I just use the default sitemap in RW, I don’t know if Brent is using one generated from another tool?


(Brent) #4

I just recently uploaded a new one which I used a web service to generate for me, and it cleared the Google test.
The sitemap in my dropbox I had went to the trouble of adding href lang tags and for some reason was giving me the above error after the google test.
So now I got a sitemap that passes the test but I’m also wanting to define languages for my website and I apparently am out of my league on that.


(system) #5

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.