A `sitemap.xml` file is an XML file that provides information about the pages, videos, and other files on your site, and the relationships between them. It helps search engines crawl your site more intelligently.
Here’s a simple structure of a `sitemap.xml` file:
```xml
https://www.example.com/
2023-10-01
daily
1.0
https://www.example.com/about
2023-09-15
monthly
0.8
https://www.example.com/contact
2023-09-20
yearly
0.5
```
### Key Elements:
- <url>: Represents a single URL entry.
- <loc>: Specifies the location of the URL.
- <lastmod>: Indicates the last modification date of the URL.
- <changefreq>: Suggests how frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: A value between 0.0 and 1.0 that indicates the importance of the URL relative to other URLs on the site.
This file should be placed in the root directory of your website and can be submitted to search engines to improve your site's visibility.