{"success":true,"prompt":"/sitemap.xml","response":"It looks like you're interested in how a **sitemap.xml** file works! Think of it as a \"GPS map\" for search engine crawlers (like Googlebot). Instead of wandering around your site hoping to find every page, the crawler reads this file to see exactly what exists, which pages are most important, and when they were last updated.\n\n### What is a Sitemap?\nA sitemap is a simple XML file that lists URLs for a site along with additional metadata about each URL. While it doesn't guarantee that every page will be indexed, it's a best practice for SEO—especially for large sites or those with complex navigation.\n\n\n\n---\n\n### Key Components of the XML\nEach entry in a sitemap typically includes the following tags:\n\n* **`<loc>`:** The absolute URL of the page (e.g., `https://example.com/page`).\n* **`<lastmod>`:** The date the content was last modified. This helps crawlers know if they need to re-scan the page.\n* **`<changefreq>`:** How often the page is likely to change (e.g., `daily`, `monthly`).\n* **`<priority>`:** A value from `0.0` to `1.0` indicating the importance of the page relative to others on your site.\n\n### A Basic Example\nHere is what the code actually looks like under the hood:\n\n```xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n   <url>\n      <loc>https://www.example.com/</loc>\n      <lastmod>2026-04-14</lastmod>\n      <changefreq>monthly</changefreq>\n      <priority>1.0</priority>\n   </url>\n</urlset>\n```\n\n---\n\n### Why You Need One\n* **New Sites:** If your site is new and has few external links, a sitemap helps Google find you faster.\n* **Large Archives:** It ensures old content that isn't linked frequently in your current navigation still gets crawled.\n* **Rich Media:** Specialized sitemaps can help Google understand video and image content better.\n\n### Where to Put It\nStandard practice is to host it at the root directory: `domain.com/sitemap.xml`. Once it's live, you should submit the URL to **Google Search Console** or **Bing Webmaster Tools** to give the bots a \"heads up.\"\n\nAre you looking to generate a sitemap for a specific platform like WordPress or Shopify, or are you building one from scratch for a custom site?"}