Generate sitemap.xml files for effective search engine crawling
Sitemap: https://example.com/sitemap.xml to robots.txt for automatic discovery.Sitemap.xml is an XML file that tells search engines about all pages on your website. It helps search engines understand your site structure and crawl efficiently.
A single sitemap file can contain a maximum of 50,000 URLs. Use a sitemap index file for more URLs.
| Attribute | Required | Description |
|---|---|---|
| <loc> | Required | Absolute URL of the page |
| <lastmod> | Optional | Last modification date |
| <changefreq> | Optional | Change frequency (daily, weekly, etc.) |
| <priority> | Optional | Relative priority (0.0~1.0) |