sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of a website and find all its pages. Here’s a basic example of what a `sitemap.xml` file might look like:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-09-15
yearly
0.5
http://www.example.com/contact
2023-09-20
yearly
0.5
http://www.example.com/blog/
2023-10-01
weekly
0.8
```
### Key Elements of `sitemap.xml`:
- loc: The URL of the page.
- lastmod: The date the page was last modified.
- changefreq: How often the page is likely to change (e.g., daily, weekly, monthly).
- priority: The priority of the page relative to other pages on the site (0.0 to 1.0).
Using a `sitemap.xml` file can improve your site's SEO by ensuring search engines index all relevant pages.