sitemap.xml
A `sitemap.xml` file is an essential tool for search engine optimization (SEO) as it helps search engines understand the structure of your website. Below is a simple example of how a `sitemap.xml` file is formatted:
```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-08-10
yearly
0.5
```
In this example:
- <urlset>: The root element that contains all URL entries.
- <url>: Represents a single URL entry.
- <loc>: The canonical URL of the page.
- <lastmod>: The last modified date of the page.
- <changefreq>: How frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the URL relative to other pages on your site.
This structure helps search engines crawl your site more effectively, improving your visibility in search results.