PDA

View Full Version : Missing XML tag This required tag is missing. Please add it and resubmit.Parent tag:


karnevil
05-19-2014, 09:37 PM
Hi all, searched everywhere and have been to fix this for ages but no-one seems to know the answer, hoping someone can help.

In Google webmaster tools I constantly get the error

Missing XML tag This required tag is missing. Please add it and resubmit.Parent tag: urlset Tag: url Line 2

It only appears in for the blog sitemap
www.legalbeagles.info/forums/xmlsitemap.php?fn=vbulletin_sitemap_blog_0.xml.gz

The full sitemap is located here

www.legalbeagles.info/forums/xmlsitemap.php

Any pointers please, driving me crazy

I have rebuilt sitemaps, checked sitemap settings etc etc

kh99
05-19-2014, 09:49 PM
Maybe I'm just stating the obvious, but I think you're getting that message because the urlset tag requires at least 1 url tag, and that file has none. But I don't know anything about sitemaps. What is generating yours?

Lynne
05-19-2014, 10:00 PM
Why are you submitting a sitemap for your blogs when you don't allow unregistered users to view your blogs. The blogs can't be indexed by the spiders if they can't view them.

tbworld
05-19-2014, 10:06 PM
I used this as a reference a while back for a project. It was very helpful.

http://www.sitemaps.org/protocol.html

Since you are not receiving a "0 byte entry" error. Most likely it is something minor.

karnevil
06-08-2014, 09:04 AM
Thanks everyone, some useful answers.

@kh99 - Yes you are right, the blogs are very underused, most activity is posted on the forum. Never even occurred to me an empty set may have been causing the error.

@Lynne - When the blogs were more active the permissions were set that way and have remained the same ever since. As there is very little activity on blogs now I have changed the settings to allow guests.

@tbworld - very useful, thank you, now bookmarked.

Next question if I may, as the blogs are rarely used and all activity takes place on threads/posts, how would I exclude blogs from the sitemap?