Thanks for your reply,
The server is a dedicated one so i can not tell him to rewrite the urls as you said previously.
I thought about passing the original url in a variable, but this still doesn't work.
I make an .htaccess file in which i entered
ErrorDocument 404 http://www.name.com/404.php?url=$http_referer
or
ErrorDocument 404 http://www.name.com/404.php?url=$requested_uri
but the server does not replace the variable with its value but leaves the variable name.
I think this is because the .htaccess does not understand php.
I don't see what to do !!!!
Conspi
http://www.conspi.com