Generate an XML sitemap for your website. Create a valid sitemap.xml file with URL entries, change frequency, and priority settings for better search engine crawling.
An XML sitemap is a file that lists all important URLs of your website, helping search engines discover and crawl your pages more efficiently. It provides metadata about each URL including when it was last updated, how often it changes, and its relative importance.
Sitemap = <?xml version="1.0"?> <urlset> <url><loc>[URL]</loc><changefreq>[freq]</changefreq><priority>[val]</priority></url> </urlset>Each URL entry in a sitemap contains a <loc> (the URL), optional <lastmod> (last modified date), <changefreq> (how often the page changes), and <priority> (relative importance from 0.0 to 1.0). The entire list is wrapped in a <urlset> element.
| Input | Output |
|---|---|
| URL: https://example.com/, Freq: daily, Priority: 1.0 | <url><loc>https://example.com/</loc><changefreq>daily</changefreq><priority>1.0</priority></url> |
| URL: https://example.com/about, Freq: monthly, Priority: 0.8 | <url><loc>https://example.com/about</loc><changefreq>monthly</changefreq><priority>0.8</priority></url> |
| 3 URLs with varying frequency and priority | Complete XML sitemap with <urlset> wrapper and 3 <url> entries |