Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sitemaps

Helpful for webcrawlers to properly index a website.

One way to get the sitemap easier to find is putting the location in the robots.txt file.

Tips

  • Google ignores <priority>
  • Google checks <lastmod> for accuracy

… and accurate sitemap leads to better SEO.

Example from www.sitemaps.org

<?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>

</urlset>

Source sitemaps.org/protocol.

This site - pushpopswap.com

Of course, this site’s sitemap.xml file is built on compile time, see the script here.

References

Sitemaps.org - v0.9 schema

Site map - Wikipedia

Last Modified • Tuesday, June 23, 2026. 6:36 pm UTC+00:00 • Commit: 0cc1642