sitemap.xml
A sitemap.xml file is an XML file that lists all the pages of a website. It helps search engines like Google to crawl and index the site more effectively. Here's a simple structure of a sitemap.xml file:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-09-15
yearly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <url>: Represents a URL entry in the sitemap.
- <loc>: The location of the page.
- <lastmod>: The date the page was last modified.
- <changefreq>: How frequently the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the page relative to other pages on the site (between 0.0 and 1.0).
Creating a sitemap.xml is essential for improving your site's SEO and ensuring that search engines can easily find all your important pages.