sitemap.xml
A sitemap.xml file is used to inform search engines about the pages on your site that are available for crawling. Below is a simple structure 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-09-20
yearly
0.5
```
Here’s a breakdown of the elements used in the sitemap:
- <urlset>: The root element that contains all URLs.
- <url>: A container for each individual URL entry.
- <loc>: Specifies 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.
A sitemap helps search engines index your site more effectively and improves visibility in search results.