Webmaster Papers




Google
 
Web webhostingpapers.com




/pagead2.googlesyndication.com/pagead/show_ads.js">

404 Error - The Page Cannot be Found


A "404 Error" happens when the web server you are on cannot find the page that you requested. This type of error is quite common and is seen all over the place.

404 Errors can be caused by many different problems, though generally they are caused by either dead links, or errors in the websites coding. Dead links often occur when a webmaster puts external links on his website, then the website he is referring to changes, moves, or no longer exists. Coding errors on the other hand can happen all over the place! Quite often webmasters neglect to check their links as they are making them, this means that there could be a spelling mistake in the URL, a missing slash or pretty much any typing error you could think of. It's good practice to check all links as you make them!

Internal links, or links to pages within the same website also get 404 errors from time to time. Unfortunately this is due to the webmasters neglect of his own website. If modifications were made to the website, he should have checked his website, or ran an automated program to check all of his links. Broken internal links look bad and unprofessional.

There are a few ways that a webmaster can mask his errors, or at least do some recovery work if an error occurs. If a webmaster changes the framework of his website he can create re-direct pages that will move the user to their the main index, or the updated version of the page that they requested. Additionally, they should be able to stop 404 Errors all together by creating an automatic forward whenever an error occurs.

A couple tricks for webmasters to help reduce the amount of 404 errors, or try to hide the errors is to modify the .htaccess file in their website directory. This file has one variable that can be set that will allow you to specify the page that you want to send the user, should a 404 occur.

Example: ErrorDocument 404 index.php
Example: ErrorDocument 404 404.php

The first example would automatically send the user back to the main index (if the main index was called index.php), and the second would send them to a customized 404.php file, which could display an error message, or send you an auto-notification of an error that happened. Keep in mind that if you use non-absolute directories that you may not feed out the correct page. For instance if the error occurs in a subdirectory on your website, and you specify index.php as your error document, there may not be an index.php in that subfolder, thus it might be a good idea to put the below example instead.

Example: ErrorDocument 404 http://www.yoursite.com/

Note: If you use Apache HTTPD you can setup the default error documents in the configuration file!

Ken Dennis
http://KenDennis-RSS.homeip.net/

RELATED ARTICLES


Understanding How HTML Color Codes Work
Ever wonder how HTML color codes are put together? For the beginner, it can look like lots of numbers and letters that make no sense. In reality, HTML color codes are written that way for a specific reason that we'll look at in this article.
Website Design: Redecorate Your Web Site To Increase Sales
Getting traffic to your website is not the only factor that affects your sales.
What Your Website REALLY Says About You And Why It Matters
Everything you say and do says something about you. This has never been more true than in a text based environment like the Internet. You only have one chance to put across what you want to say. Use it wisely.
Choosing A Web Designer : A Plan to Guide You Through The Minefield
Choosing a web designer can seem like a daunting task. They come in all shapes and sizes ? from freelancers working at home to glossy new media agencies, and there is as much variation in prices and service as there is in size.
Simple Lines and Shapes for Your Logo Design
Geometric designs come in all shapes and sizes? and lines. You can create your logo design or customize your illustration by using simple lines and shapes to create your very own unique image.
Website Design Mishaps - How to Avoid Costly Errors That Can Crush Your Chances of Success
Designing your website can be a difficult task especially if you decide to do it on your own and you have no experience. There are many websites and web hosts that provide tools to allow you to build your website, but if you have no knowledge of what works and what does not work in web design, you could be setting yourself up for a big fall. Review the following suggestions, implement them into your web design, and forget about being the guy with a badly designed web page.
Bad Web Design: ActiveX
ActiveX uses an interesting method for enforcing security ... it doesn't. Well, that's not exactly true. What happens is when a web page requests an ActiveX control the browser determines if that control is already loaded onto your system. If it is the ActiveX control is executed. If not, the user is asked if it is okay to install the control. Additional information about where the control came from and it's security implications is also included.
Web Designers Beware!
As a web designer, I have a personal interest in a new trend which threatens to put me and my kind out of business. That "threat" is Web Design Templates. In short they are ready-made web design products which can be used as a basis for a fast and high-quality website. You usually receive a Photoshop file (.psd), Flash file (.fla), HTML files with your tables and initial scripting already complete, fonts, sounds and anything else which may be part of the website design.
Make Artistic Graphic Designs
Are you a student of graphic design? If you have taken time in extra reviews and put "graphic design" and "drawing" into any search engines, you'll get almost the same result = descriptions of graphic design programs at many design schools. Baffled? Well, it's like this: As a student interested in graphic design, you have to take drawing and not actually a degree in fine art.
Web Site Professionalism? What Is It?
Your web site should be-
Custom Icons For Your Specific Brand
Developing a software application is not easy at all; apart from the effective creation of the application you'll have to think of other things as well, like: making the software easy to work with, giving it a unique and appealing look, making it better than other software, etc. Apart from the qualities of the application, these little things are the ones that promote your software application among the end users. If the application is easy to use, has a friendly user interface, the look of the program is unique yet not too flashy a lot more people will want to have it and use it. On the other hand, we should be careful about the overall look of the entire application because if it looks too different or it is too striking, many of the new users will be reserved in trying it. The reticence might be coming from the fact that, due to the unconventional look, they will think that it is hard to work with this application. Also, the icons of the application must be eye-catching but not too flashy or different from the usual.
Web Coach Tip: The Single Most Important and CRUCIAL Element of Your Web Site
Here's the single most important part of your website: YOUR WEB COPY! And remember: Your website isn't about YOU, it's about THEM!
Basic Graphic Design
Wether you design your business brochures, flyers, web page, or ads there are some things that you need to know. There are some basic graphic design principles that those of us trained in the commercial art/graphic design field don't always share. Here's a short list of elements of graphic design that you can use today.
Pages to Include in Your Website
What pages need to be included on your website? The answer varies for each type of business and depends on how informative you want your website to be for potential clients. Below is a list of sample pages for you to review while you plan out your website.
10 Nifty Ways to Prolong Your Visitors at Your Website
Increasing the length of time a visitor is on your website will dramatically improve your conversion to sales. Use these ten points to check you are prolonging to stay of your visitors.
Orient Your First-time Web Site Visitor
Imagine spinning someone around so profoundly and for so long that when you finally tell them to open their eyes, they ask "Where am I?" not knowing if they are even on the same continent they started from. When someone comes to your web site from a search engine or through a link from another site, it's like that for them. They may have little or no context within which to understand your home page - or another page deep within your site that they've landed on.
Cheap Website Design In Birmingham
Due to the large number of people offering website design services in Birmingham, there is always a bargain to be found.
Ten Steps to a Winning Home Page
There's no doubt about it - the first page your site visitors see is the most important page of your website. If your home page isn't appealing, chances are the rest of your pages will never even be seen by your visitors. It helps to think of your home page as the "front door" to your online business. Will it invite people to come in and look around, or persuade them to take their dollars elsewhere? Here are ten tips for making your home page a winner:
One-Product Sales Sites: Avoid These Top Blunders
One product, one long web page: this kind of web site is sometimes called a sales letter site or mini-site, and it focuses on one and only one goal, as many sales of that one product as possible. With a one-product sales site, no distractions, no subsidiary goals, such as newsletter signups, are allowed to interfere with that goal. So let's look at some common mistakes and omissions for a sales letter site.
Digitalize It! : (Modification of images with tools such as Adobe CS and Corel)
Then it was a choice among crayons, paints and palettes for an artist and designer to create art. It was a box of crayons that make one happy designer during his early years of formation.