www.1001TopWords.com |
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.
|
RELATED ARTICLES
4 Computer Money-saving Tips Tip #1 -- Rebates:A rebate is not always a bargain. Computers with rebates are often close to being discontinued. You may pick up a good deal or purchase technology that's about to become yesterday's news. What's more, stores will often package computers with a bunch of free items to make it look like you're getting more value. Chances are the extras are either poor quality or items you're unlikely to use. Also, they're counting on you to not redeem your rebate, a very common occurrence. Compile .BAT Files into Native Windows Applications (.EXE) Since the DOS days, batch files have been one of the most convenient and immediate ways to accomplish certain tasks. Even today it's possible to find some remarkably sophisticated utilities written as command-line batch files. Home Electronics: The Facts About Plasma TV Not so many years ago, homes across the country watched their favorite TV shows on a bulky floor model that took awhile to warm up before you could see the picture, didn't offer anything in the way of remote control manipulation and offered a washed out image on the TV's cathode ray tubehosted screen...and folks were thrilled to have such marvelous technology in their midst. Today, all of that's been changed, with the introduction of plasma TV. The Importance Of Email Backup Viruses, software failures, power failures, human errors, hard drive failures are only a few examples of what could destroy the data on a hard drive, including all documents, pictures, emails and other files! JVCs First Three-Layer Combo-Disc Blu-Ray / DVD JVC developed and used a high-performance reflective film to produce this revolutionary three layer structure. The outer Blu-ray layer can be read by the blue light laser but it is transparent for the red light laser which therefore has access to the inner dual DVD layer. Registry Tools Demystified Not sure what Windows registry is or how it works? Don't worry - there are tools that can take care of all registry related tasks for you, even if you are a seventy six year old who never used computer before. These are the tools that optimize your registry and make your PC run faster. Selecting the Perfect Big Screen TV Selecting a TV isn't as easy as it used to be in years goneby. Rather than going to the local department store and choosing a console that would take up a large portion of the living room, we now have other options. Along with those options comes the chore of locating, comparing and narrowing down a multitude of models to just the right one for your viewing needs. Image Formats: GIF, JPEG, BMP When browsing the internet you are likely to come across many different image formats. However, the most common formats are: CompuServe GIF, JPEG, and Bitmaps. 5 Minute Guide to Video Editing for Beginners Getting started with video editing is very simple you only need a few items and you can be producing quality movies at home that you will be able to enjoy for many years to come. Maybe even produce a hit Hollywood movie. Password Nightmares Good Morning Mr. Sampson. Please type in you Personal Identification Number A Tale of Two Regeds Tech support tells me to type 'regedt32' as opposed to 'regedit' to access the registry from the command line (Start > Run). I question the use of 'regedt32,' but he says to do it anyway. Whenever I use the registry editor, I recall this incident and never look up the tale of the two regs... until now. Help, I Need a New HDTV! (Part 1 of 5) Feeling overwhelmed in selecting a new TV? With all the choices these days, you may feel like, "Where do I start?!" 5 Steps to Removing PC Clutter It's hard enough as it is these days to get organized and then remain that way for weeks and months down the road. We are all very busy people, some of us with 9-5 jobs and one hour commutes, and others of us busy making our lives at home work for us, with children at tow and a variety of chores to do as well as errands to run. 10 Easy Steps to Speed Up Your Computer - Without Upgrading 1. Empty the Temp directory regularly. To do this, make sure NO programs are open, and? Do Higher Digital Camera Prices Mean Better Cameras? Understanding digital camera prices makes finding the best camera value much easier. Uncovering digital cameras best buys is easier if we know what's available within various price ranges. With that in mind let's explore camera prices in more detail. How I Started Working With 3D Modeling Programs So I'll start from the very beginning. Reliable File and Folder Sharing in Windows Xp This tip is on sharing files and folders on a local network in Windows XP. It has been tested on Windows XP Professional (with and without SP2). How Does My PC Get Hot There are many sources of heat that can raise the temperature in your PC. No, I'm not talking about the Tabasco sauce you dripped over your keyboard when you ate that bowl of chili at your desk, and no, I'm not talking about that Pamela Anderson (or Ricky Martin poster, depending on your taste) above your desk. Heat can come from external and internal sources. Let's take a look at those different heat sources, identify them and see what can be done to eliminate the problem. Classification of Computers Computers are available in different shapes, sizes and weights, due to these different shapes and sizes they perform different sorts of jobs from one another. Lightning Season: How to Avoid Data Loss We have just entered the time of year that most electrical storms occur. |
© Athifea Distribution LLC - 2013 |