{
  "content": "Sure thing! Below is a concise, ready‑to‑copy template for a basic XML sitemap, along with a quick refresher on the key tags and when you might need a “sitemap index” instead of a single file.\n\n---\n\n## 1. Single‑file sitemap (good for sites with < 50 000 URLs)\n\n```xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset\n    xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n    xsi:schemaLocation=\"\n      http://www.sitemaps.org/schemas/sitemap/0.9\n      http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd\">\n\n    <!-- Example entry -->\n    <url>\n        <loc>https://www.example.com/</loc>\n        <lastmod>2024-06-22</lastmod>\n        <changefreq>daily</changefreq>\n        <priority>1.0</priority>\n    </url>\n\n    <!-- Add more <url> blocks below -->\n</urlset>\n```\n\n### Tag breakdown\n\n| Tag | Purpose | Typical value |\n|-----|---------|---------------|\n| `<loc>` | Required, full URL of the page | `https://www.example.com/page` |\n| `<lastmod>` | Optional, last modification date (ISO 8601) | `2024-06-22` |\n| `<changefreq>` | Optional, how often the page changes (helps crawlers schedule revisits) | `daily`, `weekly`, `monthly`, etc. |\n| `<priority>` | Optional, value from 0.0 to 1.0 indicating page importance relative to others on the site | `1.0` (most important) |\n\n---\n\n## 2. Sitemap index (use when you have > 50 000 URLs or want to split by category)\n\n### sitemap‑index file\n\n```xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<sitemapindex\n    xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n    xsi:schemaLocation=\"\n      http://www.sitemaps.org/schemas/sitemap/0.9\n      http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd\">\n\n    <sitemap>\n        <loc>https://www.example.com/sitemaps/section1.xml</loc>\n        <lastmod>2024-06-22</lastmod>\n    </sitemap>\n\n    <sitemap>\n        <loc>https://www.example.com/sitemaps/section2.xml</loc>\n        <lastmod>2024-06-22</lastmod>\n    </sitemap>\n\n    <!-- Add more <sitemap> blocks as needed -->\n</sitemapindex>\n```\n\nEach referenced file (e.g., `section1.xml`) would be a normal `<urlset>` sitemap.\n\n---\n\n## 3. Quick checklist for getting it live\n\n1. **Generate URLs** – Use a script (Python, Node, PHP…) that walks your CMS or static file tree and writes each page’s URL.\n2. **Chunk if needed** – Split into ≥ 50 000‑URL files, keep each under 50 MB uncompressed.\n3. **Host publicly** – Place the sitemap(s) at the root of your domain (`https://www.example.com/sitemap.xml`) or under `/sitemaps/`.\n4. **Tell search engines**  \n   - Google: submit via Search Console or add a `robots.txt` rule.  \n   - Bing: submit via Bing Webmaster Tools.\n5. **Keep it fresh** – Update `lastmod` and regenerate whenever content changes.\n\n---\n\n### TL;DR\n\n- **One file** = up to 50 000 URLs.  \n- **Index file** = lists multiple sitemap files.  \n- Use `<loc>`, `<lastmod>`, `<changefreq>`, `<priority>` in each `<url>` entry.  \n- Host it, point search engines, and periodically update.\n\nHope that gives you a solid starting point. Want to generate a full sitemap automatically or need help tweaking the `changefreq` logic? Just let me know!"
}