Broken links on a website are one of the worst types of design errors, which often drive potential users away from the site. To test for broken links, open a Web page on your computer in Dreamweaver CS4. The Home Page, which usually uses the file name “index.html," is a good place to start.
Click on the “Window" menu, then “Results" and “Link Checker." In the Link Checker panel that opens at the bottom of the screen, click on the right-pointing arrow next to “Files." There are three options: to check the current document, to check links for the entire local site, and to check links for selected files. Unless you have a website with only one page, the best way to go is to choose to check links for the entire site. On complicated sites, which have gone through multiple iterations in development and contain lots of CSS and specialized fonts it is quite likely you will find some broken links. If so, click on the “Save Report" icon at the left of the panel. To review the types of problems quickly, click on “Broken Links" on the “Show" line and select broken links, external links, or orphaned links.
To fix broken links, select one from the list. The name will reduce in size and a folder option pops up on the right. This opens a “Select File" dialog box where you can work through finding the correct file and fixing the broken link. The following image shows some deliberately created broken links for this example.