sitemap.xml
A `sitemap.xml` file is an XML file that lists the URLs of a website, helping search engines like Google to crawl the site more effectively. Here’s a basic structure of a `sitemap.xml` file:
```xml
https://www.example.com/
2023-10-01
monthly
1.0
https://www.example.com/page1
2023-09-15
weekly
0.8
https://www.example.com/page2
2023-08-20
daily
0.6
```
### Key Elements:
- <url>: Represents a single URL on the site.
- <loc>: The location of the URL.
- <lastmod>: The last modification date of the URL.
- <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 (values range from 0.0 to 1.0).
### Usage:
- Place the `sitemap.xml` file in the root directory of your website.
- Submit it to search engines via their webmaster tools to improve indexing.