How to retreive the URL of the chosen (but non-exsisting) page after redirect?

Giganews Newsgroups
Subject: How to retreive the URL of the chosen (but non-exsisting) page after redirect?
Posted by:  M@r(o (m.hoefm…@lelystad.nl)
Date: Fri, 02 Nov 2007

Hello all,

We've got the following problem: When a visitor klicks a dead link he
ends up on a 404-page like should be. On that page there's an
opportunity to mail the webmaster (me) about the missing page. Most
visitors don't describe the link or the page they came from
(containing the dead link) so I really would like to prefill their
email with the URL of the page that seems to be missing.
All ideas are welcome...

TIA,
Marco

Replies