I am trying to set up a 404 page for my WordPress site. I have added a 404.php file to my theme directory and it works correctly.
Is there a way to create a 404 page specifically for the dashboard?
Currently if the user encounters a 404 page in the admin area then they have to hit the back button or go to the admin toolbar and select dashboard.
It would be good if they would instead be shown a 404 page that exists within the admin area ie; with the sidebar displaying.
Anyone managed to achieve anything similar?