sitemap.xml
A `sitemap.xml` file is an XML file that provides search engines with information about the pages on a website. It helps improve the indexing of the website's content. Here’s a simple example of what a `sitemap.xml` file might look like:
```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>: Defines a single URL entry.
- <loc>: Specifies the location of the URL.
- <lastmod>: Indicates the last modification date of the page.
- <changefreq>: Suggests how often the page is likely to change.
- <priority>: Specifies the priority of the page relative to other URLs on the site.
Using a `sitemap.xml` can enhance your website's SEO by making it easier for search engines to discover and index your pages.