sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of your website. It provides a list of URLs on your site along with additional metadata about each URL. This can improve your site's SEO by ensuring that search engines can discover and crawl all of your pages.
Here’s a basic structure 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
```
### Key Elements of a Sitemap
- <url>: Represents a single URL entry.
- <loc>: The location of the URL.
- <lastmod>: The date the URL was last modified (optional).
- <changefreq>: How frequently the page is likely to change (optional).
- <priority>: The priority of the URL relative to other URLs on the site (optional).
Having a `sitemap.xml` can help search engines index