sitemap.xml
Here is a simple overview of what a
sitemap.xml file typically includes:
- URL set: Contains a list of URLs for a website that need to be indexed by search engines.
- Priority: Indicates the importance of a URL relative to other URLs on the site.
- Change frequency: Suggests how often a URL is likely to change (e.g., daily, weekly, monthly).
- Last modified: The date when the URL was last updated.
- Supported formats: Typically follows XML format and adheres to specific schema guidelines.
An example of a basic
sitemap.xml structure is as follows:
http://www.example.com/
2023-10-01
monthly
1.0
http://www.example.com/about
2023-09-15
monthly
0.8
Ensure that your
sitemap.xml file is accessible at the root of your domain, such as
http://www.example.com/sitemap.xml, to facilitate indexing by search engines.