This is a discussion on Error pages within the PHP Language forums, part of the PHP Programming Forums category; When a user clicks on a link on my page that points to a non-existing page he will be ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
When a user clicks on a link on my page that points to a non-existing page
he will be redirected to error/404.php (by .htaccess) How can I find the link that he was trying to follow, and the page on which that link was. If a user entered a non-existing url he will also be redirected but then only the wrong url can be fetched. How can I do that? |
|
|||
|
you can also look at the error log/access log.
sanjay "Bert Melis" <bert.melis@offsite.be> wrote in message news:3f391a75$0$294$ba620e4c@reader0.news.skynet.b e... > When a user clicks on a link on my page that points to a non-existing page > he will be redirected to error/404.php (by .htaccess) > > How can I find the link that he was trying to follow, and the page on which > that link was. > > If a user entered a non-existing url he will also be redirected but then > only the wrong url can be fetched. How can I do that? > > |