sitemap.xml
A `sitemap.xml` file is an XML file that lists the pages of a website to inform search engines about its organization. Here’s a basic structure of a `sitemap.xml`:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-09-20
monthly
0.8
http://www.example.com/contact
2023-10-15
yearly
0.5
```
### Key Elements:
- <url>: Represents a single URL in the sitemap.
- <loc>: The location of the URL.
- <lastmod>: The date the URL was last modified.
- <changefreq>: How frequently the content is expected to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the URL relative to other URLs on the site (from 0.0 to 1.0).
### Additional Notes:
- Make sure to replace the example URLs with actual URLs of your website.
- It's best practice to keep the `sitemap.xml` updated as you add or remove pages from your site.
- Submit your `sitemap.xml` to search engines like Google Search Console to help with indexing.