I submitted a sitemap to Google and I found this error
Incorrect namespace your Sitemap or Sitemap The index file has not properly declared the namespace. Expected: Found:
I thought Sitemaps.org was okay. I took it from Google's example:
What am I doing wrong? Any ideas?
Have you tried taking the place
http: / /http: //www.sitemaps.org/schemas/sitemap-image/1.1
with
http://www.google.com/schemas/sitemap -image /1.1
Because this is the problem?
If you do not have more of that, can you post your sitemap here? Include only some URL tags.
Update: This page may be in use :. This is where I wrote my first sitemap. Another thought: If you do not link directly to images or videos, but only for html pages or php pages, then you can probably remove
xmlns : Image = "http://www.sitemaps.org/schemas/sitemap-image/1.1"
and
Xmlns: video = "http : //www.sitemaps.org/schemas/sitemap-video/1.1
I am not using that code in my sitemap, and it works
< / Div>
Comments
Post a Comment