Is there a tool to automatically search through my site and test all the links? I hate running across bad urls.
views:
392answers:
8Something like this should work: http://www.dead-links.com/
Do google searches for "404 checker" or "broken link checker"
I used Xenu's Link Sleuth in the past. It will crawl your site and tell you which links point to nowhere. It is not super fancy but it works.
http://en.wikipedia.org/wiki/Xenu%27s_Link_Sleuth
The Wikipedia page lists a whole bunch of other products.
Can take a long time to go through a large web site (I archived a 250MB website and it took approximately 2 hours - it wasn't local though) It has a log so you should be able to track 404s easily.
Also check out Google's webmaster tools.
http://www.google.com/webmasters/tools/
They give you the ability to see the 404's that GoogleBot discovers when crawling your website (along with lots and lots of other stuff).