Skip to main content

GenericSitemapLocator

Locates sitemap files for crawled websites.

Notes

Locates sitemap files for crawled websites by looking at known sitemap paths and optionally reading the sitemap location from robots.txt. Supports configuring additional custom sitemap paths.

Usage

class: GenericSitemapLocator
paths:
- string
robotsTxtSitemapDisabled: false

Properties

PropertyTypeRequiredDefault
pathsstring[]No[/sitemap.xml, /sitemap_index.xml]
robotsTxtSitemapDisabledbooleanNofalse

Property Details

paths

Domain-relative URL paths where to look for sitemaps when not supplied as a start reference or part of a web site robots.txt file. Defaults to /sitemap.xml and /sitemap_index.xml.

robotsTxtSitemapDisabled

Whether to disable checking for sitemap locations in a web site robots.txt file. When disabled, only the configured paths (or their defaults) are used to locate sitemaps.