--spider tells wget to check whether the URL is reachable without saving anything, and -S prints the response headers. A clean way to test links or confirm redirects by reading the Location header. The exit status is zero only when the fetch succeeds.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.