link settings
main
This switches are used to control if & how links, both internal and external, are verified.
| link.check -l | Check internal links, e.g. those within the website being analysed. |
| link.external -e | Check external links, e.g. those not on the site being checked. Although link settings only checks such links when necessary, repeated runs with multiple links to the same external site risks that site presuming there’s something nasty going on, and blocking checks. Note that ssc will NOT check RFC 2606 links, such as example.com (see link.example). |
| link.once -O | Only report each broken external link once. If, for example, the site has a number of references to a page that does not exist, ssc will only report the first instance of the broken link. Note that, even if it reports every occurrence of the link, it will only check it the first time it’s encountered (requires link.external). |
| link.xlink -X | Check cross-link IDs on the site being analysed. For example, if a link goes to /index.html#id, then, when this switch is set, ssc will verify that the id exists and that it is not hidden. |
other
| link.301 -3 | Normally, when ssc checks external links (link.external), it does not report http forwarding errors 301 and 308. Use this switch to have it do so. |
| link.example | Report links to faux domains, as defined by RFC 2606 (note ssc also reports links to example.edu, example.gov & example.mil). |
| link.ignore dom | When checking external links, ignore the specified domain. May be repeated. |
| link.local | Report links to local domains, such as domains ending in .lan, .home, .corp, & others. |
| link.pretend f | Pretend links containing f exist. May be repeated. |
| link.report dom | Report links to the specified domain and its descendants. May be repeated. |
| link.required Z,Y,X,E,F,T,D | Check site link consistency. A link to URL Z is required for lang Y (default: all) on X pages (can be a page name, ALL, FRONT, INDEX, default ALL), as a child of element E (default BODY), from X/HTML version F to X/HTML version T (default: all versions), called D. All values are optional except Z. |
| link.revoke -r | Do not check whether links’ https certificates have been revoked (requires link.external). |
| link.special | Report links to special domains, such as domains ending in .alt, .onion, .yu, and others. |