sitemap.xml
A sitemap.xml file is an XML file that lists the URLs for a site along with additional metadata about each URL. This helps search engines like Google to crawl the site more intelligently. Here’s a basic structure of a sitemap.xml file:
```xml
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-10-01
yearly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
In this example:
- <url>: This tag defines a single URL entry.
- <loc>: Specifies the location (URL) of the page.
- <lastmod>: Indicates the last modification date of the URL.
- <changefreq>: Suggests how frequently the page is likely to change.
- <priority>: Sets the priority of the URL relative to other URLs on the site.
You can include multiple
url entries as needed for your website.