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 all the important pages on the site, ensuring that they can be crawled and indexed efficiently. Here’s a simple structure for a `sitemap.xml` file:
```xml
https://www.example.com/
2023-10-01
daily
1.0
https://www.example.com/about
2023-10-01
monthly
0.8
https://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <url>: Represents a single URL entry in the sitemap.
- <loc>: Specifies the location of the page.
- <lastmod>: Indicates the last modification date of the page.
- <changefreq>: Suggests how frequently the page is likely to change.
- <priority>: Indicates the priority of the page relative to other pages on the site.
This structure helps search engines like Google to efficiently crawl your website and understand its hierarchy.