sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of a website. It lists the URLs for a site along with additional metadata about each URL, such as how often it changes and how important it is relative to other URLs on the site. Here's a simple example of what a `sitemap.xml` file looks like:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-10-01
yearly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <url>: Represents a single URL entry.
- <loc>: The location of the URL.
- <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, on a scale from 0.0 to 1.0.
Having a `sitemap.xml` file is beneficial for SEO as it helps search engines crawl the site more effectively.