Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready

How To Customize Your Own 404 File Not Found Page

By: Mark Nenadic Home |


We've all run into them, the dreaded 404 File Not Found" error page. When you land there, there are a few things that you can do next. On average, what do you usually do first when you hit one of those pages:

Immediately click our browser's back" button so that you can try somewhere else
Try to edit the URL you're attempting to visit and then see if you can head back a step and work your way to where you want to go
Write an email to the web designer of the website to inform them of the issue that you've spotted while navigating their site.

Let me guess what your answer was: You click the back" button on your web browser. If you're like the majority of web users, then that's precisely what you answered. Most of us don't even realize that there are any other options out there than to go back to where we started.

Therefore, it would be awfully nice to be able to help this type of visitor to get back to your website in case they've landed on an old link or have entered your URL improperly. You can edit and customize your own 404 File Not Found page so that it gives them the directions that they need so that they can get back to your site and find what they want.

Of course, there are a few things that you'll need to have available to you if you want to customize that 404 File Not Found page. The first, and most important, is that you need to have a web host that enables you to edit that part of your website. Some will, but some will not. Before getting started, find out from your web host if they will make that option available to you. To find out, look into your hosting documentation and see if they mention anywhere the ability to customize or edit a file named .htaccess". If so, it will likely mean that you are able to customize your 404 File Not Found.

If your web host does permit you to edit the 404 File Not Found, then you're ready to get started. The following are the steps that you will need to follow:

Create/Modify your .htaccess file this might not always be necessary, but for some web hosts, it's required. If you don't need it, then skip this step. If your server isn't an Apache web server, however, you'll need to ask your web host what you need to do to have the server serve your edited file when a file on your domain can't be found. Otherwise, you simply need to add the following line to your .htaccess" file:

ErrorDocument 404 /notfound.html

With that done, you'll need to create a notfound.html in your main web directory. This will be what tells the Apache web server that when it can't find a file, then it should use that URL.

It only takes one .htaccess file in your main directory to cover your entire site and all of its sub-directories. However, if you want specific sub-directories to show their own 404 File Not Found messages, then you will have to create a separate one in each directory. The .htaccess file in any directory or subdirectory will override any other .htaccess files you have in any other directory or subdirectories.

Create the error file now it's time to customize your 404 File Not found page. Let the visitor know that the link is not functioning, but don't stop there. Provide the visitor with alternatives. This should include a link to your main page. If you have a search engine on your website, this would be the ideal place to put a query box. This will make your visitor's experience very simple because now they can simply type in what they want and they'll be sent there. If you don't have a search engine on your website or even if you do you might want to place a link to your site map, allowing your visitors to easily find what they want from the list. The point is simply to make sure that your visitor doesn't give up on you and head somewhere else.



Article Source: http://www.eArticlesOnline.com

About the Author:
Mark Nenadic
Mark is the director and face behind FifteenDegrees-North, where you will find articles and resources to help with SEO,
marketing and Web design.

Tags:

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Articles Via RSS!

Recent Related Articles From

  • Equipment You May Need For An Internet Home Business
    By: elias georgi | Nov 15th 2006
    An Internet home business requires specialized equipment, systems and software to ensure that you are able to provide the level of service to your customers for the type of business you are running. We will review some of the areas that readers may want to consider in this short article. Read

  • Student Loans And Student Loan Refinancing
    By: Melissa Kellett | Mar 6th 2008
    Are you wondering how you are going to pay for college? Something unexpected happened and you will need to refinance your student loans? Do not worry, here are some explanations on the different types of student loans and refinance student loans and how to get approved without hassles. Read

  • Moving House? How To Hire A Company To Move You
    By: Mike Medwin | Mar 29th 2008
    Moving House:

    The average person moves house several times in their lifetime. Moving for a job, more space, or a change of scenery, its one of the most stressful, and rewarding times for the majority of people. From moving a few doors down, to across a continent, moving house is one of the most important thin ...
    Read

  • File Shredding And Wipe Disk

    There are significant and important differences between deleting a file, File Shredding or File Wiping and Disk Wiping. Using the delete key does not completely obliterate information. The information remains on the disk, often more or less completely intact. The function of the delete key is to remove the address" to ... Read

  • 6 Tips On Choosing Online File Storage Systems
    By: Timothy Rudon | Jan 9th 2008
    Storage systems have been in use from ancient times. People have used boxes, trunks, filing cabinets, safety deposit boxes, computer serves, floppy disks, external drives and so on to store important personal and business data. Read

  • Owning Your Business : Some Questions & Answers
    By: Stephen Campbell | Oct 9th 2007
    Guidelines about putting up your own business. It is presented on a question and answer format. Read

  • Free File Storage Space On Web
    By: Semko Roman Roman | Sep 25th 2007
    Free online storage is a reality, today you don't need to spend thousands of dollars to upload your files and documents for safe keeping. One of the biggest reasons aiding free online storage is the fact that computer hardware and in particular storage space has become very cheap. All you need to do is figure out what site ... Read

  • How Do You Know Your Pets Need Vitamins
    By: Eddy Kong WW | Nov 21st 2007
    This article briefly explain how do you find out your pet s need vitamins. Read

  • Totally Free Online Storage Space
    By: Roman Semko Semko | Aug 23rd 2007
    Free online storage is a reality, today you don't need to spend thousands of dollars to upload your files and documents for safe keeping. One of the biggest reasons aiding free online storage is the fact that computer hardware and in particular storage space has become very cheap. All you need to do is figure out what site ... Read

  • Why Just Make Calls From Your Computer? You Can Also Transfer Files, Whilst On The Phone.
    By: Andrew Regan | Nov 1st 2007
    Although email has revolutionised the way we communicate, it is now facing some pretty stiff competition. As well as calling friends from your computer you can also, almost instantaneously, transfer files. Read


Copyright © 2005-2011 eArticlesOnline, LLC - All Rights Reserved
Terms of Service | Privacy Policy