HTML and CSS Reference
In-Depth Information
Repair Broken Links
Repair broken links if possible. Delete them if not.
<a href="">Dotcom, Inc.</a>
<a href="">Learn More</a>
Dotcom, Inc.
<a href="">Learn More</a>
Dead links annoy users and waste their time. In the worst case, they can be offensive. Many disgusting
spammers make a habit of buying up abandoned domain names of failed companies and replacing them with
pages of ads for subprime mortgages, get-rich-quick schemes, and outright pornography. Many web sites are
pointing to porn and don't even know it.
Dead links also reduce search engine placement for both your site and the sites linked to it.
Potential Trade-offs
Checking links is fairly easy to automate. As a result, many tools will do this for you. Some are built into
authoring tools, and they usually work on a single page. Others are stand-alone programs that run on your
computer. Still others are web-based services. For a quick check on one page, I'll either use what's built into my
editor or hop over to the web-based checker at . Googling for "online link
checker" will find many similar tools.
For more automated testing of an entire site, on Windows I use Xenu Link Sleuth, ; and on UNIX I use Linklint, . Once again, these are
just two choices. There are many others. Each can scan a site remotely or locally and attempt to follow each link
it finds. If a link can't be followed, or if it is redirected, an error message is logged. For example, here's some
output from checking one of my sites with Linklint:
Code View:
$ ./linklint -http -host -doc results /@
Checking links via
that match: /@
1 seed: /
Seed: /
checking robots.txt for
Checking /
Checking /oldnews/news2007March26.html
Checking /mailinglists.html
Search WWH ::

Custom Search