How can I make a 404 php page with the 404'd file name in the link, example would be:
http://website.com/WrongPageName.html
would go to
http://website.com/404.php?page=WrongPageName.html
How can I make a 404 php page with the 404'd file name in the link, example would be:
http://website.com/WrongPageName.html
would go to
http://website.com/404.php?page=WrongPageName.html
Sorry did abit of research after soulmerge told me its a feature in my http, so i found out
$_SERVER['REQUEST_URI'];
then i used htaccess to go to a 404 file which would echo that out, the rest of the work is simple.