sitemap.xml
A `sitemap.xml` file is an XML file that provides information to search engines about the pages on your website. It helps search engines crawl your site more intelligently.
Here is a basic example 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-10-01
monthly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
### Key Components of a Sitemap
- <loc>: Specifies the URL of the page.
- <lastmod>: Indicates the last time the page was modified.
- <changefreq>: Suggests how frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: Indicates the priority of the page relative to other pages on the site (range from 0.0 to 1.0).
### Benefits of Having a Sitemap
- Improved Crawling: Helps search engines discover and index your pages more effectively.
- SEO Boost: Can enhance your site's visibility in search results.
- Informational: Provides metadata about the pages on your site.