sitemap.xml
A sitemap.xml file is an XML file that lists the URLs for a website along with additional metadata about each URL. This helps search engines like Google to crawl the site more efficiently. Here's a simple structure of a sitemap.xml:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-10-01
monthly
0.8
http://www.example.com/contact
2023-10-01
yearly
0.5
```
### Key Elements
- <url>: Contains the information for each URL.
- <loc>: Specifies the URL of the page.
- <lastmod>: Indicates the last modification date of the URL.
- <changefreq>: Suggests how frequently the page is likely to change.
- <priority>: Indicates the priority of the URL relative to other URLs on the site.
### Additional Notes
- Ensure the sitemap is accessible at
http://www.example.com/sitemap.xml.
- Submit the sitemap to search engines via their webmaster tools for better indexing.