sitemap.xml
A `sitemap.xml` file is an XML document that helps search engines understand the structure of your website. It lists the URLs for a site along with additional metadata about each URL. This can improve the way search engines crawl and index your site.
Here’s a basic structure of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-10-01
yearly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
### Key Elements:
- <url>: Contains information about a specific URL.
- <loc>: The URL of the page.
- <lastmod>: The last modified date of the page.
- <changefreq>: How often the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the page relative to other pages on the site (scale from 0.0 to 1.0).
Creating a well-structured `sitemap.xml` can enhance your site's SEO by ensuring that search engines discover all your important pages.