views:

68

answers:

2

Hi all

I want to know how you control on your webpage your links which link to external sites. Sometimes it can be that an external site just vanishes and you don't know that such an event occurred.

I am thinking about making an excel sheet which holds all links and it's places from the website. Then I go manually monthly over all links and check if the website exists (which I find a pretty stupid idea :/ )

Does anyone of you have a good system on maintaining external links?

+1  A: 

Use Xenu.

Xenu's Link Sleuth (TM) checks Web sites for broken links. Link verification is done on "normal" links, images, frames, plug-ins, backgrounds, local image maps, style sheets, scripts and java applets. It displays a continously updated list of URLs which you can sort by different criteria. A report can be produced at any time.

If you're on Mac, have a look at Integrity.

Gregory Pakosz
Watch that you don't get thrown into a volcano by an intergalactic space tyrant! <http://en.wikipedia.org/wiki/Xenu>
Carl Smotricz
Thanks for the answer, it does the job for checking links on an intranet page ;D
elhombre
A: 

Xenu is generally agreed to be the best link checker. Run it regularly, maybe even set up a cron job (or windows scheduler) to run it regularly, maybe even to email you the results.

The W3C also has a link checker at http://validator.w3.org/checklink (and you should run their CSS & HTML checkers on your entire site, too).

It depends how your site is coded. Mine is all PHP and I once had an idea to check all links on a page each time the page is loaded (or every 'n'th time). If you do this, you could either parse the page and check each link, or just do it simply and invoke W3C's link checker and parse the output - if any errors, send yourself an email.

Mawg