I try to redirect all http query on my website like "http://www.example.com/abcd" (that generate 404 error) to "http://www.example.com/error.php?e=abcd" (to keep the abcd request in a database)
I tried to find a way with .htaccess file, but nothing work fine :(
I tried something like this :
ErrorDocument 404 http://www.example.com/error.php?e=$1
I know I have to do some RewriteCond and RewriteRule stuffs, but I don't know how to use is properly
Thanks