Website cleanup

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

A couple of years ago I was tasked with maintaing a web site that had been
built by someone else. I am using Frontpage 2000.

Their work habits were no better than mine and now there are dozens of
images that were uploaded to the Host and likewise dozens of old HTML files
that are completely orphaned, i.e. nothing references them.

Does anyone have a suggestion or know of a utility that will identify these
unused files so I can clean up the site.

Re: Website cleanup

On Wed, 7 Jun 2006, RICHARD BROMBERG wrote:

Quoted text here. Click to load it

Recent versions of Xenu link checker can do that

A fast and generally recommended link checker, but it has some known
shortcomings.  It uses Windows' own routines for accessing URLs, and
they perform some silent fixups (e.g correcting "\" to "/") before the
link checker gets to see them, which means those kind of broken link
cannot be found.

See for
thirdparty documentation.

However, a comment I found elsewhere says that the ophan check doesn't
recognise images that are only called-out from a stylesheet.

Personally, when getting rid of believed-to-be-orphaned files, I
set their filemode on the server so that the HTTPD cannot read them,
and then watch out for any corresponding errors in the logs for a
while, before finally deleting them.  That way, it's easy to reinstate
any that weren't really orphaned.

h t h

Re: Website cleanup

Quoted text here. Click to load it

I do something similar.  Rather than messing with file attributes, I
rename the files placing a common extension on all files.  That way, I
can delete the whole lot in one go by deleting everything in the web
space with that file extension.  I usually use a file extension like
6.7.6 so somepage.html becomes somepage.html.6.7.6 and somegif.gif
becomes somegif.gif.6.7.6; same for jpg, css, php or whatever.  Maybe
not better, but a bit different.

Stan McCann, "Uncle Pirate" /
Webmaster, NMSU Alamogordo /

Site Timeline