sitemap.xml
A `sitemap.xml` file is an XML file that lists the pages of a website, helping search engines like Google to crawl and index the site more 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-08-20
yearly
0.5
```
In this example:
- <urlset>: The root element that contains all URL entries.
- <url>: Each individual URL entry.
- <loc>: The location of the page.
- <lastmod>: The date the page was last modified.
- <changefreq>: How frequently the page is likely to change.
- <priority>: The priority of the URL relative to other pages on the site.
This format allows search engines to understand the structure of your site and ensure all important pages are indexed.