sitemap.xml
A `sitemap.xml` file is an essential tool for search engines to understand the structure of your website. It helps improve site indexing and can enhance SEO. Below is a simple example of what a `sitemap.xml` file might look like:
```xml
https://www.example.com/
2023-10-01
monthly
1.0
https://www.example.com/about
2023-09-15
yearly
0.8
https://www.example.com/contact
2023-08-20
yearly
0.6
https://www.example.com/blog
2023-10-05
weekly
0.9
```
### Key Elements of `sitemap.xml`
- <urlset>: The root element that contains all the URLs.
- <url>: A container for each URL entry in the sitemap.
- <loc>: The location of the URL.
- <lastmod>: The last modification date of the URL.
- <changefreq>: How often the page is likely to change.
- <priority>: The priority of the URL relative to other URLs on the site.
Using a `sitemap.xml` file can significantly help search engines crawl your site