Announcement

Collapse
No announcement yet.

Verifying URL's

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Verifying URL's



    Does anyone have a script that will cruise through a list of URL's
    and flag the ones that are no longer in use?

    Thanks,
    Sandy


    #2
    Verifying URL's



    > Does anyone have a script that will cruise through a list of URL's
    > and flag the ones that are no longer in use?
    >
    I haven't written a script to do that, but were I to do so I'd try MvCALL
    to each URL with the HEAD method and parse the result for the server
    response code. You'd definitely return a "no" for 404 and 403, a "Yes" for
    200, and how you treat the other most common responses (e.g. 301, 302,
    401) would depend on your circumstances.
    It the list was likely to be more than a handful, you'd probably want some
    timeout management or batching control. (How many urls make a handful? :-)

    Richard


    Comment

    Working...
    X