The page you often see when clicking on any link saying “404 Error” or “Page not Found” or “Page cannot be displayed” etc. as page search result, is usually a 404 Error Page. It is like a dead-end for your user. Which can lead to the exit of Website Surfing and apparently no one wants to see his visitors leave like that. So here are some tips to get the best out of the 404 Page.
Giving useful links and information on a 404 page can help your user stay and go more to your Website or Blog. You can check out mine here.
Showing a Search box, some recent Post or list of archives is a good way to let user stay on the Blog more.
Create a 404.php page in your theme folder if you do not have already. You can use any styles and HTML tags you want, to fit your needs. But try using the same design structure that of Blog, so the page looks like it is also part of the Blog.
Make sure you have these basic PHP Codes in your 404 files. The easy way is to follow The Custom Page Template Tutorial to create a 404 page and insert content as you people like it.
<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>