sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of your website. It provides a list of URLs for your site along with additional information about each URL, such as how often it is updated and its importance relative to other URLs.
Here 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-25
yearly
0.5
```
Key Elements of a Sitemap:
- 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 page relative to other pages on the site (from 0.0 to 1.0).
Having a `sitemap.xml` can improve your site's SEO by making it easier for search engines to crawl your site and find all its pages.