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.
1. Empty the Temp directory regularly. To do this, make... Read More
MMC and SDFlash memory is available in so many formats... Read More
I recently took a good look at what was keeping... Read More
You will need the following:1. 1.44MB FDD (floppy)2. NVFLASH utility... Read More
Plenty! When we made the decision to be our own... Read More
IntroOne of the big advantages of PCs over earlier types... Read More
If you're a computer expert, you'll probably already know about... Read More
A friend told me: "My computer startup seems to be... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
I am going to assume that you are running windows... Read More
What led them to this choice, as all four studios... Read More
No matter how fast your processor and regardless of how... Read More
You have your television and home theater receiver; you just... Read More
First things first, what is Firefox? Well, it's a browser.... Read More
You probably heard of the new Firefox browser version 1.0... Read More
Since the DOS days, batch files have been one of... Read More
In the early days, Personal Digital Assistants (PDAs) were not... Read More
In the first part of this home lab tutorial, CCNA... Read More
Choose Not To ConformPalm pilots and pdas are constantly growing... Read More
I met an entrepreneur who hole heartedly disagree with an... Read More
When browsing the internet you are likely to come across... Read More
A Computer in Your HandCarrying around an address book and... Read More
The first step is: Start > My DocumentsSo you have... Read More
If you've been kicking around the idea of building your... Read More
Flow Text Around a GraphicQuestion: I have inserted a photo... Read More
broken street light led manufacturer in usa Pete's produce ..Selecting a TV isn't as easy as it used to... Read More
The battle is heating up for market share, home movie... Read More
Using SQL Server 2000 and above versions you can retrieve... Read More
You???ve studied hard; you???ve practiced your configurations; you???ve used your... Read More
Millions have enjoyed recorded music since 1877 when Thomas Edison... Read More
It's free, it comes with Windows and it's used by... Read More
Have you ever tried to remove Spyware off your PC... Read More
The best way to get the gaming computer that you... Read More
Windows Media Player 10 has been full of bugs from... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
MP3 players are Hot! Playing music has come a long... Read More
Buying a receiver is one of the most important decisions... Read More
JPEG, GIFF/JIFF, BMP, and TIFF are the most commonly used... Read More
Microsoft Certifications are one of the most widely acclaimed, pursued,... Read More
Everywhere you look today people are listening to personal audio... Read More
ComputersBusinesses and individuals alike have all grown to rely on... Read More
Although there are many things that can affect the performance... Read More
Do you remember the old saw about how computers would... Read More
PDA Medical BenefitsIf you are concerned about your medical history,... Read More
I do a holiday letter every year and send them... Read More
If you're a computer expert, you'll probably already know about... Read More
I recently got an e-mail asking about virtual memory. The... Read More
Introduction In this article I will clearly spell out the... Read More
File permissions are one of the strengths that the Unix... Read More
This tip is on sharing files and folders on a... Read More
Personal Technology Personal Technology |