sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of your website. It lists all the important pages of your site, ensuring that search engines can find and index them effectively. Here’s a basic structure of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
http://www.example.com/contact
2023-09-20
yearly
0.5
```
### Key Elements:
- <url>: Contains information about a specific URL.
- <loc>: Specifies the location of the URL.
- <lastmod>: The date when the page was last modified.
- <changefreq>: How frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the page relative to other pages on the site (between 0.0 and 1.0).
It's important to keep your `sitemap.xml` file updated to reflect changes in your website's structure or content. This helps search engines crawl your site more efficiently.