sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of a website. It provides a list of the pages available on the site, allowing for better indexing. Here’s a basic outline of what a `sitemap.xml` file looks like:
```xml
https://www.example.com/
2023-10-01
monthly
1.0
https://www.example.com/about
2023-09-15
monthly
0.8
https://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <url>: Represents a URL entry.
- <loc>: Contains the URL of the page.
- <lastmod>: Indicates the last modified date of the page.
- <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 (value between 0.0 and 1.0).
Using a `sitemap.xml` can enhance SEO and help search engines index your site more effectively.