Subject: | Google sitemap.xml errors |
Google don't like sitemap.xml when it have relative paths.
So, you need to generate XML like this:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://example.com/route</loc>
</url>
</urlset>