ch.at

Universal Basic Intelligence

pronounced "ch-dot-at"

sitemap.xml

sitemap.xml

A sitemap.xml file is an XML file that lists all the URLs of a website along with additional metadata about each URL. It helps search engines discover and crawl your website more efficiently.

Basic Structure

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2023-06-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2023-05-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Elements Explained

  • <urlset> - Root element that encapsulates the file and references the sitemap protocol standard
  • <url> - Parent tag for each URL entry
  • <loc> - The URL of the page (required)
  • <lastmod> - The date the URL was last modified (YYYY-MM-DD format)
  • 🟠 claude-3.7-sonnet