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.
|
|
|
|
|
|
|
|
|
|
|


After reading this good article you will know some important... Read More
I recently got an e-mail asking about virtual memory. The... Read More
First and foremost before I begin my ranting it is... Read More
We all enjoy our favorite screensavers but in the same... Read More
ASR (Automated System Recovery) is a feature available on the... Read More
Digital Video Disc or as it is sometimes referred to... Read More
Not so many years ago, homes across the country watched... Read More
Buying a receiver is one of the most important decisions... Read More
HTTP ProtocolThe web is run on port 80. You are... Read More
When I first started studying for my CCNP, some of... Read More
Digital cameras ratings are great tools for deciding which camera... Read More
Projectors have come a long way in the past few... Read More
The following practice, if done regularly, may help you to... Read More
MMC and SDFlash memory is available in so many formats... Read More
I have always been interested in computers, but in the... Read More
Feeling overwhelmed in selecting a new TV? With all the... Read More
In the first part of this home lab tutorial, CCNA... Read More
"Aaaaaahhhhhh! I've been invaded by a virus!" Getting a virus... Read More
CCNAs and CCNA candidates hear it all the time: â??Get... Read More
Windows Media Player 10 has been full of bugs from... Read More
Are you stymied by the vast offerings in cheap mp3... Read More
Has This Ever Happened To You? OK.. it's Friday night,... Read More
We've all seen them, you've been browsing a website and... Read More
Youâ??ve studied hard; youâ??ve practiced your configurations; youâ??ve used your... Read More
Winter?the official start of the cold and flu season. Though,... Read More
This tip is on sharing files and folders on a... Read More
If you use a computer, you need to know more... Read More
Cisco Certification: Taking Your First Certification ExamYou've studied hard; you've... Read More
On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG.F... Read More
There are plenty of articles out there about how to... Read More
Tech support tells me to type 'regedt32' as opposed to... Read More
Most people download and save so much information on their... Read More
In Windows Xp, you can install two operating systems on... Read More


Plenty! When we made the decision to be our own... Read More
When you think of a help desk, what do you... Read More
1. Let your PC boot up completely before opening any... Read More
Maintaining your computer is extremely important ? especially if you... Read More
Windows Media Player 10 has been full of bugs from... Read More
I recently got an e-mail asking about virtual memory. The... Read More
On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG.F... Read More
We all enjoy our favorite screensavers but in the same... Read More
For those seeking to buy their first flat panel TV... Read More
If you're a computer expert, you'll probably already know about... Read More
BIOS - Basic Input Output SystemThe central processing unit of... Read More
Viruses, software failures, power failures, human errors, hard drive failures... Read More
HTTP ProtocolThe web is run on port 80. You are... Read More
Selecting a TV isn't as easy as it used to... Read More
Yes, it's true. You may have inadvertently invited a spy... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
In my humble opinion nothing makes a long trip easier... Read More
Simone is exasperated. She has to work on her university... Read More
Computers are supposed to speed up our productivity?to help us... Read More
PDA Medical BenefitsIf you are concerned about your medical history,... Read More
Enhanced Definition Television ? also known as EDTV ? is... Read More
Do you know how many fonts are currently installed on... Read More
We've all seen them, you've been browsing a website and... Read More
Have you ever tried to remove Spyware off your PC... Read More
You probably heard of the new Firefox browser version 1.0... Read More
Most of the web applications have a lot of images... Read More
The following practice, if done regularly, may help you to... Read More
The year is 1981. IBM has just released the Personal... Read More
Get started creating web pages using text files and HTML... Read More
First things first, what is Firefox? Well, it's a browser.... Read More
"Aaaaaahhhhhh! I've been invaded by a virus!" Getting a virus... Read More
Having two operating systems is not as difficult as many... Read More
The best way to get the gaming computer that you... Read More
Personal Technology |