sitemap.xml
A `sitemap.xml` file is an XML document that helps search engines understand the structure of your website. It lists all the important pages, making it easier for search engines to crawl and index your site.
Here’s a simple example of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-10-01
monthly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <url>: Represents a single URL entry.
- <loc>: The location 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 page relative to other pages on the site (scale from 0.0 to 1.0).
Including a `sitemap.xml` file on your website can improve its visibility and indexing in search engines. Make sure to submit it through tools like Google Search Console for better results.