Drug testing

404 Error Pages: What Are They And How Do You Create One?

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 The News:

A family in Bainbridge, Ga., had the “surprise of a lifetime” when they found a massive alligator soaking in some sun in their front yard.
Two huge male rat snakes were caught fighting over a female in North Carolina, in a rare video.
Scientists have discovered layers of ice buried a mile beneath Mars’ north pole that could help unlock the Red Planet’s history.
Two orphaned bear cubs have been rescued from a huge 70-foot spruce tree in Canada.
Male Egyptian fruit bats will allow female bats to take food straight from their mouths and scientists believe they know why -- the bats are trading food for sex.
In May 2018, a startling study revealed that there was an "unexpected and persistent increase" of chlorofluorocarbons (CFCs) in the atmosphere. At the time, scientists could not pinpoint the exact location of the ozone-depleting gas, but subsequent media reports suggested that the clues lead to a rural, industrial town in China. Now, a new study confirms that the rise in CFCs is indeed coming from northeastern China based on atmospheric observations.
A doughnut-loving bear is “staying out of trouble” after it traveled thousands of miles to return home, say wildlife officials.
The “violent tornado” that tore through Jefferson City, Missouri overnight has highlighted the terrifying destructive force of tornadoes.
An incredibly rare skeleton of the extinct dodo bird is slated to go up for auction tomorrow and it could bring in big bucks, perhaps surpassing $750,000.
A leatherback sea turtle gave Florida beachgoers a rare sight last week when she was spotted nesting in broad daylight.

Selecting the Perfect Big Screen TV

Selecting a TV isn't as easy as it used to... Read More

10 Time Saving Keyboard Shortcuts

Time is money. And when you constantly have to divide... Read More

Lightning Season: How to Avoid Data Loss

We have just entered the time of year that most... Read More

Get Ahead When You Build Your Own Computer

If you've been kicking around the idea of building your... Read More

Digital Cameras: How Many Pixels Do I Need?

With the bewildering number of digital cameras on the market,... Read More

Ergonomics and Healthy Computing - Positioning Your Body For Maximum Comfort At Your Computer

Do you remember the old saw about how computers would... Read More

Repairing A Corrupt .RAR/.ZIP Archive

Step 1:Open WinRAR and browse to the folder with your... Read More

Quick System Restore with ASR Backups

ASR (Automated System Recovery) is a feature available on the... Read More

How To Recognize The Telltale Signs Of Spyware

Spyware is the software that collects information about your online... Read More

PC Owners - The Largest Criminal Gang Ever?

The year is 1981. IBM has just released the Personal... Read More

Cut Through the Hype and Make the Right Digital Camera Comparisons

There are soooo many choices. With all the styles and... Read More

A Tale of Two Regeds

Tech support tells me to type 'regedt32' as opposed to... Read More

10 Tips to SPEED Up Your PC

1. Let your PC boot up completely before opening any... Read More

5 Simple Ways To Increase Your Computer Speed & Help Your Computer Run More Efficiently!

If you're a computer expert, you'll probably already know about... Read More

Cisco Certification: Taking Your First Certification Exam

You???ve studied hard; you???ve practiced your configurations; you???ve used your... Read More

Some Thoughts on Choosing a Flash MP3 Player

Flash mp3 players come with an exciting array of features,... Read More

4 Easy Ways to Speed Up A Sluggish PC

Computers are supposed to speed up our productivity?to help us... Read More

Dont Let the Internet Overstimulate Your Mind

The Internet is an awesome tool, but be careful and... Read More

Linux Power Tools - Great Tools to Make System Administration Easy

World War II - Germany decided to attack Poland. Poland... Read More

404 Error Pages: What Are They And How Do You Create One?

We've all seen them, you've been browsing a website and... Read More

Cisco Certification: The Most Important Cisco Study Youll Ever Do

All of us are familiar with the pyramids of Egypt.... Read More

Image Formats: GIF, JPEG, BMP

When browsing the internet you are likely to come across... Read More

Be Your Own IT Department

If you use a computer, you need to know more... Read More

Learn the Lost Art of Touch Typing

Computers have replaced typewriters, but two-finger, hunt-and-peck typing can never... Read More

Five Simple Steps to Speed up Your Computer

Most people download and save so much information on their... Read More

best street lighting cost of street lighting Pete's produce ..