sitemap.xml
A `sitemap.xml` file is an XML document that provides search engines with information about the pages on a website. It helps improve the indexing and visibility of a site. Below is a simple structure for a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
http://www.example.com/contact
2023-08-20
monthly
0.5
```
In this example:
- <urlset>: The root element that defines the sitemap.
- <url>: Contains information about a specific URL.
- <loc>: The location of the page.
- <lastmod>: The last modification date of the page.
- <changefreq>: How frequently the page is likely to change.
- <priority>: The priority of the page relative to other pages on the site.
This structure helps search engines efficiently crawl and index the website's pages.