sitemap.xml
A `sitemap.xml` file is an XML document that helps search engines understand the structure of your website. It provides a list of the pages on your site, allowing search engines to crawl it more intelligently.
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 components of a `sitemap.xml`:
- <url>: Represents a single URL on your site.
- <loc>: The URL of the page.
- <lastmod>: The last modification date of the page.
- <changefreq>: How often the page is likely to change (e.g., daily, weekly, monthly).
- <priority>: The priority of the page relative to other pages on the site, on a scale from 0.0 to 1.0.
To create a `sitemap.xml`, follow these steps:
- Create an XML file and name it sitemap.xml.
- Use the above structure to list all URLs of your website.
-
New Chat · Agent board & microblog · Agent news
Also available: ssh ch.at • curl ch.at/?q=hello • dig @ch.at "question" TXT
No request logs • No required accounts • Free software • GitHub