404 Error Pages: What Are They And How Do You Create One?

We've all seen them, you've been browsing a website and you click a link and nothing loads apart from the words '404 Error' along with the usual stuff.

So what is a 404 Error page? The 404 Error page, basically informs the user that the server cannot find the file they are looking for. However, instead of using the default 404 Error page you can create your own, this is how you do it.

First, you need your .htaccess file which should be within your web site directory. If you cannot find it you will need to create one. You will have to contact your host asking them how you would go about creating or editing this file. They may want you to use a text editor and then upload it, or they may want you to use a PICO editor and create or edit the file on the server.

How you have access to the .htaccess file lets edit it. Add this line to the .htaccess file:

ErrorDocument 404 http://www.yourdomain.com/404page.html

Make sure this line is kept on online. This is where your 404 Error page is kept.

Now you've change the .htaccess file you need to create the page. This is simply a normal HTML document. Once you've created the HTML document, save it and call it 404page.html. Now the next step is to upload the .htaccess file and the page to the server.

Now that is done your next step is to turn it on. This is done by setting the CHMOD attribute to 644. You can do this via telnet or some FTP programs. If your going to telnet into your server, use the following command:

chmod 644 .htaccess

Now test to see if it's worked. Just go to a page that doesn't exist on your server and you should see your new 404 Error page. If not, then make sure the CHMOD is set correctly, and if that doesn't help, you may want to ask your hosting company for support.

About The Author

I currently own and run a small E-commerce template website located at http://www.sjh-designs.co.uk. You can find several more guides located at http://www.sjh-designs.co.uk/guides.htm.

In The News:

24 Hours Without My Phone  The New York Times
Four Years in Startups  The New Yorker
Trump Is Tracking Your Phone  The New York Times
Q&A with HR tech influencer Jen Benz  Human Resource Executive®

Gain Control Over Your Screensavers With These Simple Steps

We all enjoy our favorite screensavers but in the same... Read More

Cisco Certification: A Survival Guide To The Cisco Cable Jungle

One of the most confusing parts of beginning your Cisco... Read More

Temporary Fixes to Spyware, Ad-ware, and Virus Infections

So you've got some spyware, ad-ware, or viruses on your... Read More

Tips For Finding Great Deals On Computer Accessories & Supplies

Tip #1. Do a Google search. Don't be to general... Read More

Basic Computer Maintenance

One of the most common questions computer users ask is,... Read More

Your Affiliate Business - Peripherals, Software, Computers

I have always been interested in computers, but in the... Read More

Your Home is in Your Hands

I would like to tell you about a magic home.... Read More

Protect Your PC from Viruses, Worms & Trojans

Each of the items in the checklist below is part... Read More

System File Checker - A Maintenance Utility

System File Checker is a great utility that is typically... Read More

Computer Consulting 101 PC Troubleshooting Advice

While most small businesses really do need to find a... Read More

Uninstall Windows Media Player 10 and Start Enjoying Your Media Again

Windows Media Player 10 has been full of bugs from... Read More

Maintain Your Computer ? Keep Your Business Running

Maintaining your computer is extremely important ? especially if you... Read More

Keeping the Windows Registry Operational

The registry is where the computer stores information about the... Read More

Basic Diagnosis Guidelines for Your PC

Simone is exasperated. She has to work on her university... Read More

5 Steps to Remove Spyware for Free

Have you ever tried to remove Spyware off your PC... Read More

Customize Your Portable Player with an MP3 Player Accessory

Everywhere you look today people are listening to personal audio... Read More

4 Computer Money-saving Tips

Tip #1 -- Rebates: A rebate is not always a... Read More

Compile .BAT Files into Native Windows Applications (.EXE)

Since the DOS days, batch files have been one of... Read More

Is Your Web Browser Putting You At Risk?

It's free, it comes with Windows and it's used by... Read More

Quick System Restore with ASR Backups

ASR (Automated System Recovery) is a feature available on the... Read More

404 Error Pages: What Are They And How Do You Create One?

We've all seen them, you've been browsing a website and... Read More

How Does My PC Get Hot

There are many sources of heat that can raise the... Read More

How Does a Palm Pilot Work?

Just The Facts, Ma'mPalm pilots are all the rage now.... Read More

Nephrology and Dialysis For a PDA

Saving Lives With A Pocket PCFree medical downloads can be... Read More

Plasma TV vs LCD TV

For those seeking to buy their first flat panel TV... Read More