Search
Recommended Products
Related Links


 

 

Informative Articles

Developing a Login System with PHP and MySQL
Used with the author's permission. This article is written by daBoss. daBoss is the Webmaster of Designer Banners . daBoss can be contacted at sales (at) designerbanners (dot) com. Developing a Login System with PHP and MySQL Most interactive...

How To Build Your First Web Site
Getting Started! Most Internet service providers offer their customers a space to place a basic site on the World Wide Web. With this basic site you will get your very own URL. (Universal Resource Locater) This will be your business address...

How To Get A Site Online And Have It Making Money
When building and getting a site online you have to think of a number of things. Some of these include the following: 1. What is your site going to be about If you want to get a site online to make money then you need to do some good...

The Disability Discrimination Act (DDA) & Web Accessibility
There's been widespread speculation about the new legislation being introduced under the DDA (Disability Discrimination Act), which will ensure that websites are accessible to blind and disabled users. Try to find specific information about it on...

Untangling Spaghetti HTML
Untangling Spaghetti HTML ========================= by Sunil Tanna, EBookCompiler.com When I was first learning to write computer programs, one of the most important points that was drummed into me was that it's never a good idea to write great...

 
Google
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.