Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

Free Resources For Learning To Program In HTML
Free Resources For Learning To Program In HTML by Dan J. Fry, c. 2003-2004, All rights reserved. If you decide at some point in your life to start an online business, you simply cannot function without a web site. But, how do you go about building...

Nokia demonstrates first XHTML microbrowser on standard mobile phone
The new microbrowser brings WAP and WEB worlds together, available for licensing and on Nokia's terminals this year Nokia, the world leader in mobile communications, today demonstrated the first XHTML microbrowser on a standard mobile...

Now you have a Web site. Have you ever heard of accessibility?
An accessible Web site is easily approached, easily understood, and useable for all. There are accessibility standards set forth by the World Wide Web Consortium, which all sites should adhere to as much as possible. Web site owners should be...

Pdf vs. HTML
Pdf vs. HTML The good and bad How many of you marketers have wondered about the efficiency of digital documents, whether on your web site or on CD-ROM? Our clients have asked which one is better? We thought you could benefit from the good and...

Why is Optimizing Your Site For Speed is Important? Tips on How to do so!
If there is one thing we have all suffered through is waiting for a site to download online. It seems like it is the worse thing in the world and will never end. We actually either click off of the site or after the initial download of the frontpage...

 
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.






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.




Sign up for PayPal and start accepting credit card payments instantly.