sitemap.xml
A `sitemap.xml` file is used to inform search engines about pages on a website that are available for crawling. It helps improve the visibility of your site in search results. 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/about
2023-09-15
yearly
0.8
https://www.example.com/contact
2023-10-05
yearly
0.5
```
Key Elements:
- loc: Specifies the URL of the page.
- lastmod: Indicates the last modification date of the page.
- changefreq: Suggests how frequently the page is likely to change (e.g., daily, weekly, monthly).
- priority: Indicates the priority of the page relative to other pages on the site (0.0 to 1.0).
This file should be placed in the root directory of your website, and you can submit it to search engines like Google for better indexing.