sitemap.xml
A sitemap.xml file is an XML file that helps search engines understand the structure of your website. It lists all the pages on your site, making it easier for search engines to crawl and index your content. Here’s a simple structure of a sitemap.xml:
```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-10-01
yearly
0.6
```
In this example:
- <url>: Contains information about a specific URL on your site.
- <loc>: The location (URL) of the page.
- <lastmod>: The last modification date of the page.
- <changefreq>: How frequently the page is likely to change (e.g., daily, monthly, yearly).
- <priority>: The priority of the page relative to other pages on the site (from 0.0 to 1.0).
Creating a sitemap.xml file helps improve your site's SEO and ensures that search engines can easily find and index your content.