What?s the use?
On a 404 page usually you want to let people know something went wrong and the page they wanted to see is not available.
But after you let him know what just happened, an advantage the 404 page offers is that you are able to suggest other pages he might want to see or give him instructions to get to an active page. Using a customized 404 page, visitors won?t get confused and leave the website not knowing what happened. If you decide not to have a customized 404 page you should know that a non-customized 404 page can look not so friendly.
Customized 404 Pages and Search Engines
Search engines also can benefit from a 404 page. Imagine that a link is broken and it leads to a non-existent page. At this point search engines can?t go any further and won?t index content. If you choose to have a customized 404 page even though a page is broken search engines will see a page that can be indexed and can find links to pages that could benefit from a crawling. This is an SEO benefit!
404 Pages bring credibility
Having a non-customized 404 page looks unfriendly. But imagine a scenario where a visitor ends up on the 404 page and is shown a nice image, some instructions and links to other pages he might be interested in. He will thing that you really care about his experience on your website and probably he will go to a page you suggested and won?t leave your website or hit the back button
This is what I am using for now and this is very easy, no mod needed. I have had Bf easy pages installed for years for my Privacy statement and TOS so I just used it for a simple html error page and added it into my htaccess. I am using just one error page right now for all the errors but I will make more pages when i have time.
You guys are so right about the importance of this. I had created a bunch of error pages years ago and ended up losing them after theme and script upgrades. i have been doing without them until a couple days ago. It was pretty stupid of me to not have those when I had so many broken urls, etc from Vbseo removal.
If you are getting this error it means you have not uploaded the file to the correct place it should go into your root or edited the php file correctly
Quote:
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/apokodn/public_html/404.php on line 11
Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/apokodn/public_html/404.php on line 11
This is how I did mine, on my Dedicated Box running Windows Server 2008R2. But I really customized my error pages, with CSS, HTML, and Images. Treat the error pages as just another HTML file, and do what you want. Link to a CSS file, an Image, etc... Actually, you can search google for some open source error pages, there are a lot of really nice custom and open source Error Pages out there.