StandardRobotsMetaProvider
Reads robots directives from HTML meta tags and HTTP response headers.
Notes
Reads robots directives from HTML <meta name="robots"> tags and HTTP response headers (such as X-Robots-Tag). Supports a configurable prefix for captured response header fields.
Usage
- YAML
- JSON
- XML
class: StandardRobotsMetaProvider
headersPrefix: string
{
"class": "StandardRobotsMetaProvider",
"headersPrefix": "string"
}
<robotsMetaProvider>
<class>StandardRobotsMetaProvider</class>
<headersPrefix>string</headersPrefix>
</robotsMetaProvider>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
headersPrefix | string | No | - |
Property Details
headersPrefix
An optional prefix to prepend to HTTP response header field names when storing robots metadata as document metadata. Default is null (no prefix).