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 the pages on your site and can include additional information such as the last modified date and the frequency of changes.
Here’s a simple example of how a `sitemap.xml` file is structured:
```xml
https://www.example.com/
2023-10-01
daily
1.0
https://www.example.com/about
2023-09-15
monthly
0.8
https://www.example.com/contact
2023-09-20
yearly
0.5
```
In this example:
- loc: The URL of the page.
- lastmod: The date when 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 (from 0.0 to 1.0).
Creating a `sitemap.xml` can help improve your site's SEO and ensure that search engines can crawl and index your content effectively.