Skip to content
Advertisement

Google Sitemap errors, which i cannot explain looking at code

I have this error:

Error: This XML tag has an invalid value. Please fix it and resubmit.

I have a script on the cs-cart software that generates the sites XML sitemap for Google / search engines however I get that error above in Google webmaster tools.

Script URL for sitemap: http://www.ambientlounge.com.au/index.php?dispatch=xmlsitemap.view

SEO Based URL for sitemap: http://www.ambientlounge.com.au/sitemap.xml

Errors from Google webmaster tools submit and testing;

enter image description here

Line 2393:

0.5

Line 2393:

2015-10-30

http://www.ambientlounge.com.au/bean-bag-blog/natalia-cajide-of-paws-and-co.-whispers-about-the-a.l.pet-lounge.html

I copied and pasted the XML contents to my editor and went to line so assuming those are the lines but regardless of that, the file is generated from the PHP loop so surely if we a XML error would error before and also I see nothing wrong with those plus the are the same really as the rest.

Anyone have any ideas?

Advertisement

Answer

The value of that priority element is invalid.

<priority/>

It has to be a value between 0.0 and 1.0. The default value is 0.5. You have two possible solutions for urls without a priority. Do not add a priority element or add it with the default value.

<priority>0.5</priority>
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement