My 404 page (
/404.php) works, it's sending the proper headers (404 - Not found).
But the thing is, it's not giving the link that caused it (e.g.
example.com/thisisnon-existant.htm) but instead it's giving my 404 page (
How would I get it fixed?
All I did was add the following to .htaccess:
ErrorDocument 404 http://example.com/404.php
My 404 page's code is here: http://pastebin.com/G7mQ4aT1.