PolicyOptions
Properties
allow?
optional
allow:string
|string
[]
Description
[ At least one or more allow
or disallow
entries per rule ] Allows indexing site sections or individual pages.
Example
Path-based URL matching, refer to SYNTAX via Google.
Defined in
index.ts:92
cleanParam?
optional
cleanParam:string
|string
[]
Description
[ Optional ] Indicates to the robot that the page URL contains parameters (like UTM tags) that should be ignored when indexing it.
Example
For additional examples, please consult Yandex’s SYNTAX guide.
Defined in
index.ts:143
crawlDelay?
optional
crawlDelay:number
Description
[ Optional ] Specifies the minimum interval (in seconds) for the search robot to wait after loading one page, before starting to load another.
Example
About the Crawl-delay directive.
Defined in
index.ts:120
disallow?
optional
disallow:string
|string
[]
Description
[ At least one or more disallow
or allow
entries per rule ] Prohibits indexing site sections or individual pages.
Example
Path-based URL matching, refer to SYNTAX via Google.
Defined in
index.ts:109
userAgent?
optional
userAgent:UsertAgentType
|UsertAgentType
[]
Description
[ Required ] Indicates the robot to which the rules listed in robots.txt
apply.
Example
Verified bots, refer to DITIG or Cloudflare Radar.
Defined in
index.ts:82