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.
In my humble opinion nothing makes a long trip easier... Read More
Those small USB drives have so many names, pocket drives,... Read More
The following practice, if done regularly, may help you to... Read More
Computer is an electronic machine work on the instructions of... Read More
If you're like me, you occasionally find the ubiquitous mouse... Read More
So I'll start from the very beginning.One day I was... Read More
The basic language of the internet is html. If you... Read More
Do you remember the old saw about how computers would... Read More
Saving Lives With A Pocket PCFree medical downloads can be... Read More
What led them to this choice, as all four studios... Read More
Microsoft Certifications are one of the most widely acclaimed, pursued,... Read More
If you ask most people what frustrates them most about... Read More
File permissions are one of the strengths that the Unix... Read More
Computers are everywhere, and vary in specification, brands, sizes, shaped,... Read More
This tip is on sharing files and folders on a... Read More
IntroOne of the big advantages of PCs over earlier types... Read More
Cookies, not the kind that Mom makes, but the computer... Read More
Having two operating systems is not as difficult as many... Read More
ComputersBusinesses and individuals alike have all grown to rely on... Read More
All of us are familiar with the pyramids of Egypt.... Read More
The DNS (Domain Name System) servers are what your computer... Read More
Getting started with video editing is very simple you only... Read More
Feeling overwhelmed in selecting a new TV? With all the... Read More
Most people think that all you have to do to... Read More
Are you stymied by the vast offerings in cheap mp3... Read More
iPod users start to get the picture and it's turning... Read More
I do a holiday letter every year and send them... Read More
A Computer in Your HandCarrying around an address book and... Read More
IntroductionMac OS X is the most technologically advanced operating system... Read More
Plenty! When we made the decision to be our own... Read More
Music lovers have been carrying around radios and other bulky... Read More
It's hard enough as it is these days to get... Read More
In the first part of this home lab tutorial, CCNA... Read More
Flash mp3 players come with an exciting array of features,... Read More
Many computer users are worried about their computer's performance. After... Read More
Confused by EDTV vs HDTV? We don't blame you. The... Read More
CCNAs and CCNA candidates hear it all the time: â??Get... Read More
System File Checker is a great utility that is typically... 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
You have your television and home theater receiver; you just... Read More
Below you will find some useful information and comments about... Read More
What led them to this choice, as all four studios... Read More
Not so many years ago, homes across the country watched... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
It's hard enough as it is these days to get... Read More
GOT VIRUS? Your Data is NOT lost forever!In the wake... Read More
Microsoft Certifications are one of the most widely acclaimed, pursued,... Read More
We have just entered the time of year that most... Read More
I have always been interested in computers, but in the... Read More
One of the most common questions computer users ask is,... Read More
Microsoft Business Solutions is on the way to popularize it's... Read More
With the new technology used to transfer information to from... Read More
Plasma and LCD TVs are the latest trend in home... Read More
Cisco Certification: Taking Your First Certification ExamYou've studied hard; you've... Read More
Those small USB drives have so many names, pocket drives,... Read More
Addressing a D2X Digital SLRCoolpix 8800 search, this article provides... Read More
That desk in front of you and everything else around... Read More
Feeling overwhelmed in selecting a new TV? With all the... Read More
The following practice, if done regularly, may help you to... Read More
I've worked my way from the CCNA to the CCIE,... Read More
Apache, MysQL and PHP for Windows could be a nice... Read More
OK, so you caught a computer virus and your system... Read More
Tip #1 -- Rebates: A rebate is not always a... Read More
Plenty! When we made the decision to be our own... Read More
By using your computer today you can find a lot... Read More
Personal Technology |