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.