A **sitemap.xml** file is an XML file that helps search engines understand the structure of your website. It provides a list of URLs on your site, making it easier for search engine crawlers to find and index your content.
Here 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-10-01
monthly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
### Key Elements of a Sitemap:
- <url>: Represents a single URL entry.
- <loc>: The location of the page (URL).
- <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 (scale from 0.0 to 1.0).
Having a well-structured **sitemap.xml** can improve your site's visibility in search engine results and enhance the crawling process.