Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

Creating Your First HTML Ezine
The Basics There are two different forms of HTML ezines. HTML = HyperText Mark-up Language - basically it's the language of the World Wide Web. It's there, even if you don't know it's there. The end result of this "code" is a web page you view...

Let Your Visitors Know How Often You Update Your Website
If you update your website often, you may wish to express to your visitors that your website is up-to-date, and not "deserted". One way to do this is by placing a small statement which includes a "Last Updated" date that changes each time you...

Successful HTML email marketing campaigns and Lotus Notes issues
As the online world changed in the nineties from informational to commercial and highly competitive, marketers embraced the new technology and the need has arisen to send graphically appealing newsletters and marketing messages. You have only...

The History and Development of Web Design
When the World Wide Web was originally invented, it was unique in its ability to link pages together using hyperlinks. It uses a markup language known as HTML, or HyperText Markup Language. New technologies continue to change the way the web...

Web Design and Development: The Right Tools for the Right Job
Web Design and Development: The Right Tools for the Right Job As any webmaster knows, designing and developing a website can be a daunting proposition. There are millions of websites out there to compete with, and whether your site's...

 
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.