How can I create an xml sitemap without using any plugin?
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/</loc>
<lastmod>2005-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://www.example.com/about.htm</loc>
<changefreq>daily</changefreq>
</url>
</urlset>
How can I auto-generate a sitemap, I have 2000+ posts on my blog, and what is the method to add auto entry into sitemap when publishing a post. I have tried plugins but i want it manually without plugins like Google sitemap generate,