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
Time is money. And when you constantly have to divide... Read More
1. Let your PC boot up completely before opening any... Read More
The Internet can be a dangerous place.While you're enjoying the... Read More
1. Before sitting down for coding, you must have formal... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
Tip #1 -- Rebates: A rebate is not always a... Read More
Computers are supposed to speed up our productivity?to help us... Read More
We've all seen them, you've been browsing a website and... Read More
Getting started with video editing is very simple you only... Read More
If you're a computer expert, you'll probably already know about... Read More
Have you ever tried to remove Spyware off your PC... Read More
It's hard enough as it is these days to get... Read More
No matter how fast your processor and regardless of how... Read More
Heading off on vacation soon?Then perhaps you're tempted to take... Read More
"Aaaaaahhhhhh! I've been invaded by a virus!" Getting a virus... Read More
As the owner of a Country Mall and Top Site... Read More
How long do you think DVDs have around? 20 years?... Read More
Tech support tells me to type 'regedt32' as opposed to... Read More
"Automated Testing" is automating the manual testing process currently in... Read More
Lost & Found for the 21st CenturyIn today's hectic world... Read More
There have been some questions on anti-skip protection on mp3... Read More
Apache, MysQL and PHP for Windows could be a nice... Read More
I recently took a good look at what was keeping... Read More
Winter?the official start of the cold and flu season. Though,... Read More
This is not your typical lost data story. I was... Read More
One of the most common questions computer users ask is,... Read More
That desk in front of you and everything else around... Read More
Simone is exasperated. She has to work on her university... Read More
I have a p3 500MHz PC with 128MB RAM, 10.2... Read More
ComputersBusinesses and individuals alike have all grown to rely on... Read More
If you use a computer, you need to know more... Read More
Stop Getting LostOne of the greatest uses for a pocket... Read More
1. Empty the Temp directory regularly. To do this, make... Read More
Time is money. And when you constantly have to divide... Read More
1. Let your PC boot up completely before opening any... Read More
The Internet can be a dangerous place.While you're enjoying the... Read More
1. Before sitting down for coding, you must have formal... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
Tip #1 -- Rebates: A rebate is not always a... Read More
Computers are supposed to speed up our productivity?to help us... Read More
We've all seen them, you've been browsing a website and... Read More
Getting started with video editing is very simple you only... Read More
If you're a computer expert, you'll probably already know about... Read More
Have you ever tried to remove Spyware off your PC... Read More
It's hard enough as it is these days to get... Read More
No matter how fast your processor and regardless of how... Read More
Heading off on vacation soon?Then perhaps you're tempted to take... Read More
"Aaaaaahhhhhh! I've been invaded by a virus!" Getting a virus... Read More
As the owner of a Country Mall and Top Site... Read More
How long do you think DVDs have around? 20 years?... Read More
Tech support tells me to type 'regedt32' as opposed to... Read More
"Automated Testing" is automating the manual testing process currently in... Read More
Lost & Found for the 21st CenturyIn today's hectic world... Read More
There have been some questions on anti-skip protection on mp3... Read More
Apache, MysQL and PHP for Windows could be a nice... Read More
I recently took a good look at what was keeping... Read More
Winter?the official start of the cold and flu season. Though,... Read More
This is not your typical lost data story. I was... Read More
One of the most common questions computer users ask is,... Read More
That desk in front of you and everything else around... Read More
Simone is exasperated. She has to work on her university... Read More
I have a p3 500MHz PC with 128MB RAM, 10.2... Read More
ComputersBusinesses and individuals alike have all grown to rely on... Read More
If you use a computer, you need to know more... Read More
Stop Getting LostOne of the greatest uses for a pocket... Read More
Personal Technology Personal Technology |