sitemap.xml
A `sitemap.xml` file is an XML file that lists the URLs for a website along with additional metadata about each URL. This helps search engines like Google crawl the site more efficiently. Below is a simple example of what a `sitemap.xml` might look like:
```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-08-20
yearly
0.5
```
### Key Elements
- <url>: The container for each URL entry.
- <loc>: The URL of the page.
- <lastmod>: The last modified date of the page.
- <changefreq>: How frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the URL relative to other URLs on the site (from 0.0 to 1.0).
### Benefits of Using a Sitemap
- Improves the indexing of your website by search engines.
- Helps search engines find new or updated pages more quickly.
- Provides additional information about the content of the pages.