tutorial how to create build add your own 404 error page, error 404 page with apache, web server
How to Create Your Own 404 Error Page
Directions for Apache Users
back to the beginning of the article Step Four: TestingOnce that happens, type in a URL that you know isn't present on your site and see what happens! If everything is correct, you should see the new 404 error page pop up. If it doesn't work, go back to your httpd.conf file, identify where errors are logged (probably an entry ErrorLog) then look in that file to see what's wrong. Most likely you have a naming error where it's called one thing in the configuration file but something else on the actual server. If everything is working fine, try a second 404 error by requesting a page that's a few subdirectories into the site, so while for your first test you may have used something like http://www.intuitive.com/badpage this time try something more like http://www.intuitive.com/some/subdir/badpage If all the graphics are displayed properly and the links to elsewhere on your site are all correct, congratulations! You've done it! You're now the proud owner of a custom 404 error page. If not, step through this tutorial again, keeping an eye on the error log file, and you should have this figured out in no time. |