Personal Technology Information

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.


MORE RESOURCES:

JULY PERSONAL TECH NEWS
Personal Tech Pipeline, NY - Jul 31, 2006
Microsoft's Windows Vista will be a radically improved operating system with plentiful new features and a whole new look. How excited ...


Personal Tech Times Online
The Sunday Times, UK - Aug 2, 2006
By David Banks and agencies. Two men who helped to bludgeon six people to death in a dispute over an Xbox video game system should ...


Personal Tech: A Look At What's Hot On The Wireless Desktop
InformationWeek, NY - Jul 23, 2006
The HP LaserJet 1320nw has a 133-MHz processor and 16 Mbytes of RAM and runs on the HP Jetdirect 802.11b/g wireless Ethernet or USB 2.0 with HP Jetdirect Fast ...


Personal Tech Times Online
The Sunday Times, UK - Jul 25, 2006
Predicting the direction of technology industry stocks is a good-sized industry in and of itself, and it was working overtime last week as Dell, Intel, Apple ...


Personal Tech: From Flying Mice To Bluetooth, Here's How To Cut ...
InformationWeek, NY - Jul 23, 2006
As computers begin to move into the living room, consumers are paying more attention to wireless accessories for reasons of convenience and style. ...


Personal Tech Q&A: Expensive scanners are worth the price
Seattle Times, United States - Jul 29, 2006
Q: I am shopping for a printer/scanner that accommodates 35 mm slides. My main goal is processing many decades of family prints ...


Personal Tech Times Online
The Sunday Times, UK - Jul 6, 2006
By Rhys Blakely. The European Commission today gave a clear signal it intends to hit Microsoft with a second salvo of massive financial ...


Personal Tech Times Online
The Sunday Times, UK - Jul 12, 2006
By Anthony Browne, The Times' Europe Correspondent, and Elizabeth Judge. Ambitious plans to force mobile phone operators to slash ...


Personal Tech Times Online
The Sunday Times, UK - Jul 21, 2006
The older I get, the more I loathe and detest television, and after two or three drinks I have moments of clarity when it's clear that all the ills of our sick ...


Devices That Bridge a Music Gap
Washington Post, United States - Aug 5, 2006
... The Washington Post's Rob Pegoraro will be online to answer your personal tech questions and discuss recent columns, including instant messaging systems and ...

home | site map
© 2006 Indexadvertisements.com

Useful Links

   
Biometrics Solutions Ayurvedic Biometrics Products Job opportunities
Tech News Online Advertisement Software Development Investments Guru
Biometrics Integrated Chipsilicon Matrimonial Semiconductors