sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of a website. It provides a list of the pages on the site, allowing search engines to crawl the site more intelligently.
Here is a simple example of what a `sitemap.xml` file might look like:
```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:
- <urlset>: The root element that encapsulates all URLs.
- <url>: Represents a single URL entry.
- <loc>: The location 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 page relative to other pages on the site (scale from 0.0 to 1.0).
Including a `sitemap.xml` file on your website can improve your SEO by making it easier for search engines to index your content.