sitemap.xml
A `sitemap.xml` file is an XML document that provides search engines with a roadmap of your website’s content. Here’s a basic structure of how a `sitemap.xml` file looks:
```xml
http://www.example.com/
2023-01-01
daily
1.0
http://www.example.com/about
2023-01-01
monthly
0.8
http://www.example.com/contact
2023-01-01
yearly
0.5
```
Here’s a breakdown of the elements:
- : Specifies the URL of the page.
- : Indicates the last modification date of the page.
- : Suggests how frequently the page is likely to change (e.g., daily, weekly, monthly).
- : Indicates the importance of the page relative to other pages on your site (scale from 0.0 to 1.0).
Using a sitemap can help improve your website’s SEO by ensuring search engines can discover and index your pages more effectively.