sitemap.xml
A `sitemap.xml` file is used to inform search engines about pages on a website that are available for crawling. It helps ensure that all important pages are indexed. Below is a basic structure of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-09-15
yearly
0.8
http://www.example.com/contact
2023-10-05
yearly
0.5
```
In this example:
- <urlset>: The root element of the sitemap.
- <url>: Contains information about each URL.
- <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 structure helps search engines effectively crawl and index the site, improving visibility in search results.