How can I make a 404 error page in php?
I know there's option to customize 404 Not Found error page in cPanel, but it only allows editing .shtml file. But I'd like to process request_uri based on the data in my database. It looks like .shtml does not process php codes, then what option can I have?
ErrorDocument 404 /404.php
Then is the same folder, you'll want to create the 404.php page and that should be it. If you need further assistance please feel free to contact us. Thanks! Tim S