Make your very own "404 Error" page!
What is a 404 error?
A "404 error" or any other "page not found" error is the general error message that web servers return when they cannot locate a requested file.


Please note: only rule about a custom 404 error page is you need to own your own domain, as uploading .htaccess files on a free server or subdomain may cause future problems for you or your host which may cause severe file loss or server downtime.


Let's get started! You can create the page with any extension you like ::  '.html', '.php', '.shtml', '.htm', '.phtml', etc. Add your code in, and be very specific: tell the user that it is a 404 error that they've come across. Here is an example of what one could say:
++++++++++++

"Sorry, you've come across a 404 error. Please make sure to check your spelling in the URL, and try again.

If you got this error from a link anywhere on this site, then please report it to me ASAP at [email address here] so I can run over and fix it. Thank you! :) "

++++++++++

Now code the page as if you'd code any other page, using html, head and body tags (along with doctype/etc if you wish to validate), and then add the coding which describes the layout. This could be the same coding as your normal layouts, or something a little different  - be creative!

Open "Notepad", or a similar
plain text editor, and insert the following line:

ErrorDocument 404 http://www.[domain.com]/404.[extension]

Remove the square brackets ('[ ]') and change the words 'domain' and 'extension' for the correct variable. EG. This means your Notepad file will look something like this:

ErrorDocument 404 http://avonleadreams.com/404.html

Save this Notepad file as 'htaccess.txt' and upload it to your server using your FTP client/host upload service in the *main* folder, where your index page is stored. Once uploaded, find where the file is, and rename it to '.htaccess' - make sure you remove the '.txt' extension, and place the dot
BEFORE the word "htaccess".

Upload the custom error page to the same place as your new '.htaccess' file, and there you have it! Your very own custom 404 error page, ready for you to use!


Remember, you can create a graphic & background image for your 404 error page to be creative. My example is below:
Awards Won!
Favorite Actors & Actresses
Link Me! :)
Clubs I'm A Part Of
My Crushes
Friends
Fun Stuff For The Visitor!
Links
Favorite Movies
Favorite Music
Fanlistings
</td> </tr></table></div> </div> </body> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </html> <!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1255770164" alt="setstats" border="0" width="1" height="1"></noscript> <IMG SRC="http://geo.yahoo.com/serv?s=76001090&amp;t=1255770164&amp;f=us-w2" ALT=1 WIDTH=1 HEIGHT=1>