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 and provides metadata about each one, which can enhance indexing. Here’s a basic outline of a `sitemap.xml` file:
```xml
https://www.example.com/
2023-10-01
monthly
1.0
https://www.example.com/about
2023-09-15
yearly
0.8
https://www.example.com/contact
2023-08-20
yearly
0.5
```
In this example:
- <urlset>: The root element that contains all the URLs.
- <url>: Each URL entry.
- <loc>: The location of the page.
- <lastmod>: The last modified date of the page.
- <changefreq>: How frequently the page is likely to change.
- <priority>: The priority of the page relative to other pages on your site.
Create a `sitemap.xml` file to help search engines crawl and index your website more effectively.