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:

New Jersey workers were cleaning up the Pequannock River in Bloomingdale's Sloan Park to prepare for a flood mitigation project Thursday when they spotted a stone with an unusual marking.
An extremely rare menu from Titanic’s doomed maiden voyage to New York is up for auction in the U.K. this weekend.
An invasive insect species native to China, India, and Vietnam is posing a problem in at least two states in the northeastern and southeastern part of the country.
It's been more than 14 years since a spacecraft launched toward Mercury, so don't miss your chance to watch a rocket do just that.
California residents were stunned to watch a fireball of space junk shoot across the sky and fall onto a nearby ranch last week.
Whole libraries have been written trying to explain how Leonardo da Vinci produced some of the world's most revered paintings.
When Germany invaded Norway in 1940, Nazi leader Heinrich Himmler endorsed the concept of German soldiers hooking up with Norwegian women, as that would help bring the Nazis closer to the Aryan master race they wished for.
Earlier this week, NASA's Jet Propulsion Laboratory posted a video of how its InSight lander, set to arrive on Mars on November 26, will use its robotic arm and position its sensitive instruments on Mars' surface in an effort to study the inside of the planet for the first time ever.
The insects are disappearing from an American rainforest—and scientists say the implications are frightening.
An extremely rare Viking ‘Thor’s Hammer’ amulet has been discovered in Iceland.

Windows Task Manager in English

You use Ctrl+Alt+Del to see what's running on your PC,... Read More

A Lesson in HTML

As the owner of a Country Mall and Top Site... Read More

A Beginners Guide to Avoiding Viruses

"Aaaaaahhhhhh! I've been invaded by a virus!" Getting a virus... Read More

SmartCar Memory Stick for LapTop Transfer Data

With the new technology used to transfer information to from... Read More

How to Save an Image in a SQL Server Database?

Most of the web applications have a lot of images... Read More

Buying a Home Theater Receiver

Buying a receiver is one of the most important decisions... Read More

Digital Cameras Ratings Abolish Camera Comparison Guesswork

Digital cameras ratings are great tools for deciding which camera... Read More

Maintain Your Computer ? Keep Your Business Running

Maintaining your computer is extremely important ? especially if you... Read More

Your Affiliate Business - Peripherals, Software, Computers

I have always been interested in computers, but in the... Read More

Bluetooth Technology: Tips for Buying Headsets or Headphones

The technological horizon has always got something new to offer,... Read More

Does Microsoft Show Hackers How To Attack?

After another security hole recently surfaced in Microsoft's Windows operating... Read More

HTML Explained: Part 2

Get started creating web pages using text files and HTML... Read More

Why Build Your Own Computer System

Have you ever thought about building your own computer system?... Read More

Basic Diagnosis Guidelines for Your PC

Simone is exasperated. She has to work on her university... Read More

Advantages and Guidelines of Automated Testing

"Automated Testing" is automating the manual testing process currently in... Read More

What Exactly are Screensavers? - part II

Here are some tips on how to use screensavers:First of... Read More

PC Owners - The Largest Criminal Gang Ever?

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

Keeping the Windows Registry Operational

The registry is where the computer stores information about the... Read More

New Computer? Steps to Protect Your Computer Before Connecting to the Internet

Getting a new computer should be an exciting and gratifying... Read More

Bluetooth Headphones For Your PDA

Nothing is worse than having to negotiate all kinds of... Read More

The Best MP3 Players Under $100

You don't have to fork out $250 for a super-diggy-whizbang... Read More

Computer Consulting 101 PC Troubleshooting Advice

While most small businesses really do need to find a... Read More

Be Prepared in the Event Computer Disaster Strikes

ComputersBusinesses and individuals alike have all grown to rely on... Read More

Simple Overview Of Computer

Computer is an electronic machine work on the instructions of... Read More

Healthy Webmasters Choose Ergonomic Computer Products

Webmasters usually sit at their computers much longer in a... Read More

led parking led manufacturers Pete's produce ..