sitemap.xml
A `sitemap.xml` file is an XML file that lists the URLs for a site along with additional metadata about each URL. This helps search engines like Google to crawl the site more intelligently. Here’s a basic structure of what a `sitemap.xml` file looks like:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-09-15
yearly
0.8
http://www.example.com/contact
2023-08-10
yearly
0.6
```
### Key Elements
- <url>: Contains information about a specific URL.
- <loc>: The URL of the page.
- <lastmod>: The date the page was last modified.
- <changefreq>: How frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the URL relative to other URLs on the site (0.0 to 1.0).
### Usage
1. **Submit to Search Engines**: After creating a `sitemap.xml` file, submit it through tools like Google Search Console.
2. **Update Regularly**: Keep it updated to reflect changes on your site to improve SEO.