This is what my website's sitemap.xml looks like:
And here's <a href="http://aahank.com/sitemap.xml" rel="nofollow">the original sitemap</a>. First, I made sure of <a href="http://validator.w3.org/" rel="nofollow">valid XML markup</a>, then checked my sitemap on <a href="http://www.xmlcheck.com/index.php" rel="nofollow">xmlcheck</a> and <a href="http://sitemapxml.net/sitemap-validator.php" rel="nofollow">sitemapxml</a>.
The two sitemap validators gave this error:
As I see it, nothing's missing. Not sure what I am doing wrong. (Googling didn't help either.)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://example.com/</loc>
<lastmod>2013-04-02T12:45:31+00:00</lastmod>
<changefreq>daily</changefreq>
<priority>1</priority>
</url>
<url>
<loc>http://example.com/2013/wordpress-customize-login-page/</loc>
<lastmod>2013-03-01T12:06:00+00:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
And here's <a href="http://aahank.com/sitemap.xml" rel="nofollow">the original sitemap</a>. First, I made sure of <a href="http://validator.w3.org/" rel="nofollow">valid XML markup</a>, then checked my sitemap on <a href="http://www.xmlcheck.com/index.php" rel="nofollow">xmlcheck</a> and <a href="http://sitemapxml.net/sitemap-validator.php" rel="nofollow">sitemapxml</a>.
The two sitemap validators gave this error:
Code:
Fatal Error 4: Start tag expected, '<' not found in http://example.com/sitemap.xml on line 1 column 1
As I see it, nothing's missing. Not sure what I am doing wrong. (Googling didn't help either.)