Justa Rollin’ Right Along

How to Set Up a Custom 404 File Not Found Page



Posted on September 17, 2008 – 7:07 pm by admin


Ok, this is a pretty simple thing to do and it has some important benefits.

Have you ever visited a or a web page only to find that annoying “Not Found” ? If so, what did you do? You probably got ticked off, hit the back button and visited another . Can you imagine someone coming across a “Not Found” error page on your ? Well, if you don’t have a custom 404 “File Not Found” page set up on your , that might just be happening.

Here is what you need to do to fix this problem and keep your visitors on your .

The first thing is to create a web page with some sort of message on it. Something like, “Whoops, looks like the page you are looking for isn’t here. Please click this link to visit our home page or our …” You get the idea. You can save the page as “404.” or something similar and upload it to the root of your .

Oh, I forgot to mention this. In order to do what I am suggesting here, you need to be running an and your has to allow changes to your .. I am sure there are other ways to create a custom 404 File Not Found error page and get it up and running, but I am only talking about one way here.

Now, open up your . and place this code into it somewhere. I like to place it right on top:

ErrorDocument 404 /404.

I am using . for this stuff just because of habit and preference. You can use . or whatever you wish.

Well, that’s basically it. You can now save your . and upload it to the and go see if it worked. Try typing in some page that you know isn’t there. If it works, please read my previous post about “How To Check Your Web Page HTTP Headers & Response Codes” for some important information.

Good luck.

Bookmark and Share

Related posts







Post a Comment



Free Online Ads
Motorcycle Classifieds
Boats For Sale
Free Auto Ads
Free Pet Classifieds