Checklinks
This script allows you to check the validity of all HTML links on a Web site. Most can start at one or more "seed" HTML files, and recursively test all URLs found at that site. This program doesn't follow URLs at other sites, but it does check their existence. Major features include: Local URLs are read from the filesystem when possible, Basic server-side includes (aka SSI or SHTML) are checked, Latest standards are supported-- HTML 4.0, HTTP 1.1, latest URI-parsing scheme, and Links are traversed breadth-first.