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:

Skygazers will be treated to the “super snow moon,” on Feb. 19, the largest supermoon of 2019.
In November 2016, astronomers watched a young star some 1,500 light-years away from Earth belch out an explosion of plasma and radiation that was roughly 10 billion times more powerful than any flare ever seen leaving Earth's sun. This sudden stellar eruption may be the most luminous known flare ever released by a young star — and it could help scientists better understand the still-murky process of star formation.
An audacious attempt to find explorer Sir Ernest Shackleton’s ship Endurance has been called off after the expedition team lost an undersea drone beneath Antarctic ice.
“Our wish is to fly this year,” NASA official Thomas Zurbuchen said at the surprise announcement of a new Moon mission overnight. “We want to incentive speed … We want to start taking shots on goal.”
Bones recently found in a Siberian cave have given researchers a new glimpse into the timeline of an extinct human species. The species – known as Denisovans – at one time lived alongside Neanderthals in the same cave, the evidence showed.
NASA's Opportunity Rover has died on Mars.
A rare 12th-century triple toilet seat will be going on display at a London museum later this year.
Ex-baseball player Jose Canseco has officially joined the group that believes "the truth is out there" and is on the hunt for UFOs and Bigfoot. 
MILAN (AP) — Archaeologists have discovered a fresco in an ancient Pompeii residence that portrays the mythological hunter Narcissus, who fell in love with his own reflection.
It’s a river unlike any in Australia — and a fortnight ago it barely existed.

10 Easy Steps to Speed Up Your Computer - Without Upgrading

1. Empty the Temp directory regularly. To do this, make... Read More

Flash Memory, Part I: MMC and SD

MMC and SDFlash memory is available in so many formats... Read More

Are You Putting Off Productivity?

I recently took a good look at what was keeping... Read More

Flash Your nVidia Video Cards BIOS

You will need the following:1. 1.44MB FDD (floppy)2. NVFLASH utility... Read More

What Has A Portable MP3 Player Have To Do With Your Business

Plenty! When we made the decision to be our own... Read More

Upgrading Your PC for Non-experts

IntroOne of the big advantages of PCs over earlier types... 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

Make Windows XP Run Faster!

A friend told me: "My computer startup seems to be... Read More

2 PC Annoyances and How To Solve Them!

I have a love-hate relationship with my computer.In fact, often... Read More

If You are the Only User on Your Windows XP Computer, Do You Think One User Account Is Enough?

I am going to assume that you are running windows... Read More

Toshiba Wins Hollywood Support for the HD DVD format

What led them to this choice, as all four studios... Read More

5 Ways to Speed Up Your PC

No matter how fast your processor and regardless of how... Read More

How to Place Home Theater Speakers

You have your television and home theater receiver; you just... Read More

How to Switch to Firefox and Why You should

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

The Benefits of the New Firefox Browser

You probably heard of the new Firefox browser version 1.0... Read More

Compile .BAT Files into Native Windows Applications (.EXE)

Since the DOS days, batch files have been one of... Read More

Seven Things to Consider When Choosing a PDA

In the early days, Personal Digital Assistants (PDAs) were not... Read More

Cisco Certification: Building Your Home Lab, Part II

In the first part of this home lab tutorial, CCNA... Read More

Connect Your IPAQ to Linux

Choose Not To ConformPalm pilots and pdas are constantly growing... Read More

Palm PC critique

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

Image Formats: GIF, JPEG, BMP

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

Selecting a Personal Digital Assistant

A Computer in Your HandCarrying around an address book and... Read More

How to Set Up Simple File Sharing WinXP

The first step is: Start > My DocumentsSo you have... Read More

Get Ahead When You Build Your Own Computer

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

Flow Text Around a Graphic in Microsoft Word

Flow Text Around a GraphicQuestion: I have inserted a photo... Read More

broken street light led manufacturer in usa Pete's produce ..