sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of a website. It lists the URLs of a site along with additional information about each URL, such as how often it is updated and its importance relative to other URLs.
Here’s 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-20
yearly
0.5
```
In this example:
- <url>: Represents a single URL in the sitemap.
- <loc>: Defines the location of the URL.
- <lastmod>: Indicates the last time the URL was modified.
- <changefreq>: Suggests how frequently the page is likely to change.
- <priority>: Indicates the priority of the URL relative to other URLs on the site.
Creating a `sitemap.xml` helps improve SEO by making it easier for search engines to crawl your site.