I’ve got no problems using the XML-Sitemap generator to create the sitemap.xml file but when I check Google’s webmaster tools an error is returned every time:
This is not a valid URL. Please correct it and resubmit.
The error flags line 95 which is the
<loc>#</loc>entry in this chunk of code:
<url> <loc>#</loc> <lastmod>2010-12-14T19:39:41+00:00</lastmod> <changefreq>weekly</changefreq> <priority>0.6</priority> </url>
No matter what I do I can’t get rid of that errant #. There are no published or unpublsihed posts/pages with that title/path or an empty title/path and nothing I can find with that date stamp.
Does anyone have any ideas?
- The topic ‘[Google-sitemap-generator] Not a valid URL’ is closed to new replies.