StayOnSite
Specifies how closely a link must match one of the start URLs, for the connector to follow the link. You can use this parameter to ensure that the connector stays on the same site and does not follow links to external, third-party pages.
You can set this parameter to one of the following values:
OriginorTrue- The host, port, and scheme (for example "https") must match.Host- The host must match but the scheme and port can differ, allowing the connector to follow links between http and https URLs.Subdomain- The scheme and port can differ, and sub-domains are permitted. For example, the connector would follow a link from the start URLhttps://example.comtohttps://sub.domain.example.com, but would not follow links in the other direction.Domain- The connector follows links to any host on the same registered domain as a start URL. For example, the connector would follow links betweenhttps://example.comandhttps://sub.domain.example.com, in both directions. To determine the top registered domain for each start URL, the connector uses a Public Suffix List from https://publicsuffix.org/list/.NoneorFalse- No restrictions. Allows the connector to follow links anywhere.
When you process URLs listed in a sitemap, this parameter is ignored.
| Type: | String |
| Default: | Host |
| Required: | No |
| Configuration Section: | TaskName or FetchTasks or Default |
| Example: | StayOnSite=Origin
|
| See Also: | Url |