Submitting a new sitemap index file. Only one file is getting read. What is the error?
-
Hi community,
I am working to submit a new a new sitemap index files, where about 5 50,000 sku files will be uploaded. Webmasters is reporting that only 50k skus have been submitted.
Google Webmasters is accepting the index, however only the first file is getting read. I have 2 errors and need to know if this is the reason that the multiple files are not getting uploaded.
Errors:
| 1 | | Warnings | Invalid XML: too many tags | Too many tags describing this tag. Please fix it and resubmi |
| 2 | | Warnings | Incorrect namespace | Your Sitemap or Sitemap index file doesn't properly declare the namespace. | 1 |
Here is the url I am submitting: http://www.westmarine.com/sitemap/wm-sitemap-index.xml
| 1 | | | | |
-
Try changing the first line of your index file to:
<sitemapindex xmlns="http: www.sitemaps.org="" schemas="" sitemap="" 0.9"=""></sitemapindex xmlns="http:>
That should get rid of the second warning. For the first warning, you are not using enough <sitemap>tags, you need to encapsulate each of the <loc>tags in one, so your sitemap should look like:</loc></sitemap>
<sitemapindex xmlns="http: www.sitemaps.org="" schemas="" sitemap="" 0.9"=""></sitemapindex xmlns="http:><sitemap></sitemap>http://www.westmarine.com/sitemap/wm-products01.xml.gz<sitemap></sitemap>http://www.westmarine.com/sitemap/wm-products02.xml.gz<sitemap></sitemap>http://www.westmarine.com/sitemap/wm-brands01.xml.gz<sitemap></sitemap>http://www.westmarine.com/sitemap/wm-categories01.xml.gz<sitemap></sitemap>http://www.westmarine.com/sitemap/wm-content-pages01.xml.gz<sitemap></sitemap>http://www.westmarine.com/sitemap/wm-commerce-pages01.xml.gz
-
The forum is butchering my formatting, but I hope you get the idea.
-
thank you,
I grabbed this and put into a text file for my developer to see and it and have made sense of your corrections.