sitemap.xml
A `sitemap.xml` file is an XML document that lists URLs for a website along with additional metadata about each URL. This helps search engines like Google to crawl the site more effectively. Here’s a simple structure of what a `sitemap.xml` file looks 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-08-20
yearly
0.5
```
### Key Elements of `sitemap.xml`:
- : The URL of the page.
- : The last modified date of the page.
- : How often the page is likely to change (e.g., daily, weekly, monthly).
- : The priority of the page relative to other pages on the site (0.0 to 1.0).
### Benefits of Using `sitemap.xml`:
- Improved Indexing: Helps search engines discover and index your pages more efficiently.