sitemap.xml
A `sitemap.xml` file is an XML file that lists the pages of a website to help search engines like Google understand the structure of the site. It can improve the visibility of the website in search results.
Here is a simple structure of a `sitemap.xml` file:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
http://www.example.com/contact
2023-09-20
yearly
0.5
```
In this structure:
- <urlset>: The root element that contains all the URLs in the sitemap.
- <url>: A container for each individual URL entry.
- <loc>: The location of the URL.
- <lastmod>: The last time the URL was modified.
- <changefreq>: How frequently the content at the URL is likely to change.
- <priority>: The priority of the URL relative to other pages on the site.
Using a `sitemap.xml` file helps search engines crawl your site more efficiently, leading to better indexing and potentially improved SEO performance.