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:

Russian spacewalkers have cut samples of material around a mysterious hole in a spacecraft docked on the International Space Station (ISS) that’s been at the center of sinister rumors and conspiracy theories.
NASA's Parker Solar Probe has made the closest-ever approach to a star (the sun) and shared an image of the sun's atmosphere on Twitter Thursday.
'Tis the season of snowy nights and reindeer pulling sleighs — except in the actual Arctic, where climate change is wreaking havoc on a real-world winter wonderland.
Long-lost cultures are sometimes known by the goods they leave behind. The Neolithic Corded Ware people of Europe, for example, got their name from the distinctive decorated pottery they made. If today's humans ever get a similar moniker, we might be known as the Chicken People.
The USS San Diego was the only major warship the U.S. lost during World War I. Now, nearly 100 years after it sank, and countless theories as to what caused the wreck, researchers believe they have determined the cause of it — a German submarine in conjunction with a mine.
WASHINGTON (AP) — Scientists are seeing surprising melting in Earth's polar regions at times they don't expect, like winter, and in places they don't expect, like eastern Antarctica.
When Judie Johnson of Hahei, New Zealand, recently took a dip in the waters off the coast of Coromandel, she never expected to be surrounded by a pod of playful orca whales.
There’s a new fastest animal on Earth and it’s … an ant.
The man who was behind the mission that discovered the Titanic on the North Atlantic Ocean floor in 1985 has revealed what led to the stunning find.
Research has shown that time in space can increase the risk of cancer and trigger gene mutations. But a new study has found that one crucial part of the human body remains unaffected by zero-gravity.

The Many Benefits of Owning a DVR

Has This Ever Happened To You? OK.. it's Friday night,... Read More

Consumer Electronic Information: The Basics of the DLP Projector

Projectors have come a long way in the past few... Read More

Computer Geeks and Garden Gnomes

First and foremost before I begin my ranting it is... Read More

What Exactly are Screensavers? - part I

After reading this good article you will know some important... Read More

FTP - File Transfer Protocol Explained

File Transfer Protocol (FTP) is a protocol that is part... Read More

Anti-Skip Protection on Mp3 Players

There have been some questions on anti-skip protection on mp3... Read More

PC Tools Youd Never Think You Need

Do you use Windows standard uninstall feature? How do you... Read More

Palm PC critique

I met an entrepreneur who hole heartedly disagree with an... Read More

Setting File Permissions On A Unix Server

File permissions are one of the strengths that the Unix... Read More

iPod users get the picture

iPod users start to get the picture and it's turning... Read More

How to Switch to Firefox and Why You should

First things first, what is Firefox? Well, it's a browser.... Read More

MCSE 70-290 Certification Primer

Microsoft Certifications are one of the most widely acclaimed, pursued,... Read More

Lives With Games Tradition and Industry

The United States Of America citizen feels that games is... Read More

Virtual Memory - What is It?

I recently got an e-mail asking about virtual memory. The... Read More

Refurbished Computers on the Internet

What is a Refurbished Computer?Refurbished Computers. Remanufactured Computers. Reconditioned Computers.... Read More

Help, I Need a New HDTV! (Part 3 of 5)

Feeling overwhelmed in selecting a new TV? With all the... 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

Windows PDA Medical Software Benefits

PDA Medical BenefitsIf you are concerned about your medical history,... Read More

Some Thoughts on Choosing a Flash MP3 Player

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

Internet Explorer Shortcuts for Mouse-o-phobes

If you're like me, you occasionally find the ubiquitous mouse... Read More

Enhanced Web Browsing With Toolbars

As the Web grows more crowded and just plain "noisy"... Read More

Your Computer Cant Keep Time

A computer needs a certain amount of information to operate;... Read More

5 Steps to Remove Spyware for Free

Have you ever tried to remove Spyware off your PC... Read More

Font Organizers Review, Part I

Do you know how many fonts are currently installed on... Read More

neptun lighting street lighting systems Pete's produce ..