sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of your website. It lists all the important pages, making it easier for search engines to crawl your site effectively.
Here’s a simple structure of a `sitemap.xml` file:
```xml
https://www.example.com/
2023-10-01
daily
1.0
https://www.example.com/about
2023-09-15
monthly
0.8
https://www.example.com/contact
2023-09-20
yearly
0.5
```
### Key Elements:
- <url>: Represents a single URL entry in the sitemap.
- <loc>: The location (URL) of the page.
- <lastmod>: The last modification date of the page.
- <changefreq>: How often the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the URL relative to other URLs on the site (0.0 to 1.0).
This file should be placed in the root directory of your website and can be submitted to search engines to improve indexing.