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.
Here’s a basic example of how a `sitemap.xml` might look:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-10-01
monthly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <urlset>: The root element of the sitemap.
- <url>: Each URL entry within the sitemap.
- <loc>: The location of the URL.
- <lastmod>: The last modification date of the URL.
- <changefreq>: How frequently the page is likely to change.
- <priority>: The priority of the URL relative to other URLs on the site.
This file should be placed in the root directory of your website and can be submitted to search engines to improve SEO and crawling efficiency.