A `sitemap.xml` file is an XML document that provides search engines with information about the pages, videos, and other files on your site, and the relationships between them. It helps search engines crawl and index your website more effectively.
Here’s a simple structure of a `sitemap.xml`:
```xml
http://www.example.com/
2023-10-01
weekly
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
http://www.example.com/contact
2023-08-20
yearly
0.5
```
In this example:
- loc: The URL of the page.
- lastmod: The date when the page was last modified.
- changefreq: How frequently the page is likely to change.
- priority: The priority of the page relative to other pages on the site.
Make sure to update your `sitemap.xml` regularly to reflect the latest changes on your website!