The sitemap object returns the sitemap for a given group in the robots.txt file. A sitemap describes the pages and content of a site and how they relate, which helps crawlers index the site more efficiently.

The sitemap object consists of a Sitemap directive and a value for the URL where the sitemap is hosted. For example:

Sitemap: https://example-shop.versacommerce.de/sitemap.xml

The sitemap object has the following attributes:

sitemap.directive

Returns Sitemap.

sitemap.value

Returns the URL where the sitemap is hosted.