sitemap
• A sitemap is an XML file that gives Google and other search engines a list of all the pages on your site.
• Purpose: To enable bots to crawl your site faster and more accurately.
•
Basic Structure
•
•
•
•
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>URL</loc>
<lastmod>YYYY-MM-DD</lastmod>
<changefreq>frequency</changefreq>
<priority>0.0-1.0</priority>
</url>
</urlset>
Result
• The sitemap is a guide for bots.
• Home page, static pages and dynamic content are located separately in
• Using lastmod, changefreq, priority is not mandatory but helps SEO.