A `sitemap.xml` file is an XML file that provides information about the pages, videos, and other files on a site, and the relationships between them. It helps search engines like Google to crawl the site more intelligently.
Here is a simple example of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-10-01
monthly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <urlset>: The root element that defines the sitemap.
- <url>: Contains the details for each URL.
- <loc>: The location of the URL.
- <lastmod>: The last modified date of the URL.
- <changefreq>: How frequently the URL is expected to change.
- <priority>: The priority of the URL relative to other URLs on the site.
Make sure to update your `sitemap.xml` regularly to reflect the changes in your website.