A `sitemap.xml` file is used to inform search engines about pages on your website that are available for crawling. This file is crucial for SEO as it helps improve the visibility of your site. Below is a simple structure of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
http://www.example.com/contact
2023-10-02
yearly
0.5
```
In the example above:
- <loc>: Specifies the URL of the page.
- <lastmod>: The date the page was last modified.
- <changefreq>: How frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the page relative to other pages on the site (range from 0.0 to 1.0).
To create your own `sitemap.xml`, ensure to replace the example URLs and attributes with those relevant to your website.