sitemap.xml
A sitemap.xml file is used to provide search engines with information about the pages on your website. It helps improve the site's SEO by ensuring that all relevant pages are indexed.
Here’s 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
```
- <url>: Defines a URL entry.
- <loc>: The location of the webpage.
- <lastmod>: The last modification date of the webpage.
- <changefreq>: How frequently the page is expected to change.
- <priority>: The priority of the URL relative to other pages on your site.
Make sure to update the
lastmod date and the
changefreq as necessary to reflect your site's content updates.