sitemap.xml
A `sitemap.xml` file is an essential tool for search engines to understand the structure of your website. It helps in the indexing process, ensuring that all relevant pages are discovered. Below is a simple example of a `sitemap.xml` file:
```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>: Encapsulates each URL entry.
- <loc>: Specifies the location of the URL.
- <lastmod>: Indicates the last modification date of the URL.
- <changefreq>: Suggests how frequently the page is likely to change.
- <priority>: Indicates the priority of the URL compared to other URLs on the site.
This structure helps search engines effectively crawl and index your website.