sitemap.xml
A `sitemap.xml` file is an XML file that helps search engines understand the structure of a website's content. It provides a list of URLs that are available for crawling, along with additional metadata about each URL.
Here is a simple example of what a `sitemap.xml` file looks like:
```xml
http://www.example.com/
2023-10-01
daily
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
http://www.example.com/contact
2023-10-05
yearly
0.5
```
### Key Elements
- <urlset>: The root element that contains all the url entries.
- <url>: Represents a single URL entry.
- <loc>: The URL 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).
-
New Chat
Also available: ssh ch.at • curl ch.at/?q=hello • dig @ch.at "question" TXT
No logs • No accounts • Free software • GitHub