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.yourdomain.com/404page.html. You can find several more guides located at http://www.yourdomain.com/404page.html.
cleaning service near Bannockburn ..The DNS (Domain Name System) servers are what your computer... Read More
1. Empty the Temp directory regularly. To do this, make... Read More
World War II - Germany decided to attack Poland. Poland... Read More
Save money. Save 10-15% on utility bills per month. Work... Read More
The Cisco Certified Network Associate (CCNA) Certification is meant for... Read More
MP3 players are everywhere! It seems that the number of... Read More
Tip #1. Do a Google search. Don't be to general... Read More
Unless you place your faith in internal search engine software... Read More
Are you stymied by the vast offerings in cheap mp3... Read More
A computer needs a certain amount of information to operate;... Read More
Has This Ever Happened To You? OK.. it's Friday night,... Read More
Selecting a TV isn't as easy as it used to... Read More
Getting a new computer should be an exciting and gratifying... Read More
Do you know how many fonts are currently installed on... Read More
The first step is: Start > My DocumentsSo you have... Read More
That desk in front of you and everything else around... Read More
Plasma and LCD TVs are the latest trend in home... Read More
All of us are familiar with the pyramids of Egypt.... Read More
Most people download and save so much information on their... Read More
1. Before sitting down for coding, you must have formal... Read More
When studying for your Cisco CCNA, CCNP, or CCIE exam,... Read More
The following practice, if done regularly, may help you to... Read More
What led them to this choice, as all four studios... Read More
With the new technology used to transfer information to from... Read More
Simone is exasperated. She has to work on her university... Read More
pet-friendly home cleaners Mundelein ..Cookies, not the kind that Mom makes, but the computer... Read More
Viruses, software failures, power failures, human errors, hard drive failures... Read More
File permissions are one of the strengths that the Unix... Read More
We all enjoy our favorite screensavers but in the same... Read More
As the web has evolved, so have the methods of... Read More
Winter?the official start of the cold and flu season. Though,... Read More
With the bewildering number of digital cameras on the market,... Read More
On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG.F... Read More
This is not your typical lost data story. I was... Read More
There are many sources of heat that can raise the... Read More
Tech support tells me to type 'regedt32' as opposed to... Read More
The technological horizon has always got something new to offer,... Read More
There are soooo many choices. With all the styles and... Read More
Wouldn't you be shocked to find that your personal sensitive... Read More
Most people download and save so much information on their... Read More
So you got yourself a digital camcorder. If you want... Read More
Tip #1. Do a Google search. Don't be to general... Read More
Windows Media Player 10 has been full of bugs from... Read More
Are you looking for an MP3 player but am not... Read More
Flash mp3 players come with an exciting array of features,... Read More
1. Before sitting down for coding, you must have formal... Read More
For those seeking to buy their first flat panel TV... Read More
In the early days, Personal Digital Assistants (PDAs) were not... Read More
Since the DOS days, batch files have been one of... Read More
This is the third in a series of articles highlighting... Read More
Personal Technology |