sitemap.xml
A `sitemap.xml` file is a crucial component for SEO and website navigation. It helps search engines understand the structure of your site and find all the important pages. Below is a simple example of what a `sitemap.xml` might look like:
```xml
https://www.example.com/
2023-10-01
weekly
1.0
https://www.example.com/about
2023-10-01
monthly
0.8
https://www.example.com/contact
2023-10-01
monthly
0.7
```
In this example:
- <urlset>: The root element of the sitemap.
- <url>: Each individual URL entry.
- <loc>: The location of the page.
- <lastmod>: The last modification date of the page.
- <changefreq>: How often the page is likely to change.
- <priority>: The priority of this URL relative to other URLs on the site.
Make sure to update the `sitemap.xml` regularly to reflect changes on your website. Submitting it to search engines can enhance your site's visibility in search results.