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:

PR Newswire High Technology Summary, Monday, Dec. 1, 2008
MarketWatch - 3 hours ago
Dec 01, 2008 /PRNewswire via COMTEX/ -- Following is a summary of technology news releases transmitted today by PR Newswire. The full text of these releases ...


Bleacher Report

This computer and pollster give OU the nod over Texas
SportingNews.com - 7 hours ago
Making this type of decision on a personal level would have been much more difficult as a case could be made for all three teams, but if strength of ...
Oklahoma, Texas Tech seek share of South title Dallas Morning News
The entry titled "Who's No. 1?." Austin American-Statesman
WhatIfSports College Football Week 14 Predictions Bleacher Report
Kansas City Star - Kansas City Star
all 1,829 news articles


Personal Tech: Digital cameras go big on video
Salt Lake Tribune, United States - Nov 24, 2008
By Ron Harris AP Writer The holiday season brings good tidings for shutterbugs. Whether you're shopping for someone new to digital cameras or a seasoned ...


Gift guide: Tech gadgets for every budget
San Jose Mercury News,  USA - 3 hours ago
Meanwhile, the $200 Slacker Personal Radio Player plays not only MP3s, but also free music from Slacker's Internet radio service. ...


Arrington: Mobile tech is very personal
jkOnTheRun, Texas - 7 hours ago
It's that personal mobile tech thing I mentioned. Arrington's arguments against netbooks are not surprising nor are they anything new. ...


The Single Greatest Year in Tech History, Part One: The 1970s
Technologizer, CA - 3 hours ago
We’re also defining technology to cover personal technology relating to information and entertainment: PCs, Web stuff, TVs, MP3s, phones, and GPS, ...


New kinds of high-tech homes for the elderly
San Jose Mercury News,  USA - 15 hours ago
Webcams offer personal medical consultations without an office visit. (Intel's new touch-screen Health Guide device asks: "How are you feeling today? ...


Can Nintendo teach you how to cook?
Los Angeles Times, CA - 23 minutes ago
Using Nintendo DS technology, Personal Trainer: Cooking is basically a small gray hand-held box -- with a touch screen and voice recognition -- that stores ...


Wall Street Journal Blogs

UnitedHealth Takes On Microsoft, Google With Online Health Venture
Wall Street Journal Blogs, NY - 2 hours ago
Unless the personal health records vendor is considered a “covered entity,” HIPAA doesn’t apply. Tech and Internet companies that operate personal health ...


Hybrid/Electric Tech Companies Meet in DC as Top Officials Debate ...
MarketWatch - 2 hours ago
"Advanced batteries are as important to this new market as the microprocessor was to the emergence of the personal computer revolution," Gassenheimer says. ...

personal tech - Google News

Article List | Index | Site Map
All logos, trademarks and articles on this site are property and copyright of their respective owner(s).
The comments are property of their posters, all the rest is Copyright © 2006 CanadaSEEK.com - All Rights Reserved.