Sound Feelings Banner 1
Sound Feelings Banner 2
Sound Feelings Logo
SoundFeelingsSearchMailingList
Pin It >

Custom 404 Error Message
Prevents Customer Loss

 

        This simple correction quickly guides your customers to the desired page, avoiding the File Not Found message. If you’ve ever encountered the those terrible 404 ErrorDocument or File Not Found messages while trying to access a web page, you know how frustrating and unhelpful they are. Usually that’s the end of it and you give up and move on to the next site. This is probably what’s happening to your potential visitors and customers when they make the slightest error in typing. But actually, with the creation of a simple custom error page, you can easily prevent this from happening.

HERE’S WHERE YOU CAN LEARN ABOUT FILE NOT FOUND ERROR DOCUMENT MESSAGES. WE ALL HATE THE CUSTOM ERROR PAGES ON REQUESTED URL AND REQUESTED ADDRESS. IT DISPLAYS IN WINDOW TUTORIALS SO YOU ALWAYS DISPLAY ATTEMPTED URL. GET NO MORE 404 ERROR PAGES WITH THIS FREE INFORMATION. OUR FREE TIPS AND FREE INFORMATION EXPLAINS HOW-TO WITH BOOKS OR HOW-TO PUBLICATIONS. THESE CUSTOM 404 ERRORDOCUMENTSOLUTIONS ARE THE SECRETS. THEY ARE YOUR TOOLS AND REMAINS DISPLAYED IN WINDOW.

        “Very helpful. I already knew this information, but it explained it better than I have seen anywhere else. Thank you for your efforts.”

        —Tony Morgan, http://siquo.cjb.net

See What Others Say About This Free Information.

What Causes the Errors?

      • Someone may have typed the slightest mistake in the URL.
      • Someone may have clicked on an outdated or incorrect link.

Why Do You Need A Custom Error Message?

        When someone gets the generic error message, they will go away and never come back. You will lose visitors and potential customers. It will appear to them that you are not in business.

Generic or Custom?

        If you don’t create a custom error page, the server where your website is hosted will default to something like this:


File Not Found

The requested url /xxxx/xxxxx.htm was not found on this server.


        The above has many variations, including “404 ErrorDocument.” They are all equally useless and unhelpful. Wouldn’t you rather that your visitors see something like this:
        Custom Error Message Example.

        This allows visitors to navigate their way around to find what they were actually looking for.

Requirements.

      • You own the domain name and maintain the site.
      • Your site is posted on a UNIX server.
        (For NT servers, the following information was provided by Ram Papatla of Microsoft and may be helpful: “The default 404 file is at
        C:\WINNT\help\iisHelp\common\404b.htm. You can just modify that, or create a new file and change the custom error properties in IIS to point to the new file.” For all other servers, including more NT tips, click here for additional information:
        http://www.plinko.net/404/custom.asp  )
      • You have Telnet or FTP access. If you don’t have an FTP program, you can get one from http://www.ipswitch.com/

Here’s How To Do It.

        Please note: Elements in red bold should be replaced with your customizations.

        1) Create A Special HTML Page Just for Errors. Use the “Custom Error Message Example” above to get ideas for writing your own message. Assign a URL to it like:

http://www.soundfeelings.com/not_found/index.htm

        and upload it to your site. (You can name it whatever you want and place it wherever you want on your site).

        2) Create a .htaccess file. This is a hidden file that you place in your root directory. This is what directs users to the custom error page, when they type in a wrong URL. It is an ASCII text document. This file affects the directory and all sub-directories in which it is placed. Since you want it to affect your whole site, we place it in the root directory. If you already have a .htaccess file in your root directory, then don’t create a new one. Just add the following line to it. The format is:

        ErrorDocument error-code error-page.

        It is crucial that the E and D are capitalized and that there is a space before and after the 404. It must be typed all on one line. The URL can be relative or absolute.

        Absolute URL example:

ErrorDocument 404 http://www.soundfeelings.com/not_found/index.htm

        Relative URL example:

ErrorDocument 404 /not_found/index.htm

        I suggest that you use the relative URL. This way, should the visitor ever get to your error page, the address window of their browser will continue to display the attempted URL of what they just typed or clicked-on (instead of the URL of the error page). This allows them to see what they did wrong, so they can correct it.

        Now save the file. Windows does not allow you to save a file beginning with a “.” So just save it as “htaccess.txt” and change the name remotely after you FTP it.

        Upload the file to the root directory on your site using your FTP program. (You must use in ASCII mode for this or it won’t work!)

        Now, remotely change the name of the file to “.htaccess”

        Finally, you must now use the CHMOD command through your FTP program or Telnet to set the permissions to CHMOD 755. Click here on more info on CHMOD.

A Point About The Links On Your Error Page.

        Although I recommend using “relative” links, as indicated above, ofr the .htaccess file, all links on your actual error page should be absolute or “global.” This is because in some cases, the server references the error page as if it were the root directory and then any images or links on that page will not work!

        For example…

        <img src=”http://www.mydomain.com/images/my_image.gif”>
        Not by using relative links like this:
        <img src=”/images/my_image.gif”>

How It Works.

        When a user tries to find a page that does not exist, the server finds that it was not there. It then checks the .htaccsss file for help. The special line redirects the server to the assigned page.

About This Information.

        My name is Howard Richman. I am not a computer programmer. If I can do this, so can you! What I’ve attempted to do here is research rather hard-to-find information from many, many sources and put it clearly all in one place. If you have additional questions about this, I definitely cannot help you because everything I possibly know about this subject is here on this page. But I do believe that you’ll find it very helpful.

        Please see our free information on setting up password-protection for your website.

Products We Recommend.

 

Home   About Us  Contact Us  Free  Products

Links  Privacy Policy  Security Statement  Site Map  Awards  Affiliates

Q&A  Testimonials  Disclaimers  Guarantee  Order Now!  Shopping Cart

Visa MasterCard American Express Discover Carte Blanche Diners Club En Route JCB

 

Click for the BBB Business Review Sound Feelings Publishing in Tarzana CA 

Credit Card Online Payments
 


Copyright © 1996-2014 Sound Feelings Publishing, Tarzana, California, All Rights Reserved.
Tel: +1-818-757-0600
Customer Comments

Website created by
Howard Richman with special thanks
Website maintained by
web engineer
Last updated Sunday, April 02, 2017