Domain Discussion Board

Go Back   Domain Discussion Board > General > Tutorials

 
Reply
 
LinkBack Thread Tools Display Modes
Create custom 404 Error Pages
Old
  (#1 (permalink))
bbalegere
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Create custom 404 Error Pages - 09-21-2006, 05:49 AM

Whenever a user mis-spells a page or foldername of a website, they get an error message. Some are simple server-generated ascii ones, and some are a full-featured page informing you of what you may have dont wrong and how to get back to a real page.

404 Error pages are pages you can make that replace the server generated one, and they are not difficult to make - 3 steps

Step 1
Make a webpage with whatever you want on it, (i would suggest it informs the user they they may have misspelled the adress, and giving it links to some of your other pages), and save it as 404.htm Upload it to your main folder (the one with index.html in it)

Step 2
For this step you must be the owner of the site's host. Go to the index folder via ftp/telnet and there should be a file called ".htaccess". If you dont have one there, create one (chmod it to 644 if you create a new one)

Edit this file in a plain-text editor. Look for this line and edit it, if the line isn't there at all than simply add it.
ErrorDocument 404 /404.htm
(This is case sensitive)

Step 3
Test it! Type http://www.yourwebistename.com/somerandomkeys and your 404 error page should be up and running.

Source:http://www.beginnerwebmaster.com/bw-...4-error-pages/
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#2 (permalink))
jaime
jaime is an unknown quantity at this point
 
jaime's Avatar
 
Status: Offline
Posts: 1,722
Points: 26.7
Bank: 6,181.5
Total Points: 6,208.2
Donate
Join Date: May 2006
Location: In your mind
Rep Power: 0
Re: Create custom 404 Error Pages - 10-02-2006, 03:36 AM

a question...
when a file doesn't exist 404 shows 404 error????
   

Reply With Quote
Sponsored Links
Re: Create custom 404 Error Pages
Old
  (#3 (permalink))
windrider
windrider will become famous soon enough
 
windrider's Avatar
 
Status: Offline
Posts: 1,269
Points: 607.7
Bank: 7,727.0
Total Points: 8,334.7
Donate
Join Date: Jun 2006
Location: Chennai, India
Rep Power: 4
Re: Create custom 404 Error Pages - 10-02-2006, 07:13 AM

If the custom 404 error page is missing and .htaccess still refers to it then another error will be shown when a non-existent page is accessed by a user.

You can also create and modify custom error pages using the appropriate section in Cpanel.
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#4 (permalink))
Sava
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Create custom 404 Error Pages - 11-26-2006, 09:50 AM

yes this is exactly what I wanted to say myself. These steps described by bbalegere are kinda hard for ****s. It's better to just modify this setting using cpanel.
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#5 (permalink))
LeahciM
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Create custom 404 Error Pages - 12-17-2006, 09:33 AM

But it does work! And the option you're showing doesn't work...
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#6 (permalink))
hero_bash
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Create custom 404 Error Pages - 12-17-2006, 04:39 PM

yea.. Ig uess there's a pre-made option to change these error pages easily.
But anyway, good tutoiral
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#7 (permalink))
jesper
Banned
jesper is an unknown quantity at this point
 
jesper's Avatar
 
Status: Offline
Posts: 0
Points: 25.0
Bank: 0.0
Total Points: 25.0
Donate
Join Date: Dec 2006
Location: Netherlands
Rep Power: 0
Re: Create custom 404 Error Pages - 12-18-2006, 02:33 AM

By the most hostings. There is a Cpanel include. There u can make the error pages. That is easyer than trough htacces file
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#8 (permalink))
hariharan
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Create custom 404 Error Pages - 12-23-2006, 11:24 AM

The cPanel method is much more easier and less complex.
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#9 (permalink))
XTRaze
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Create custom 404 Error Pages - 12-25-2006, 09:10 AM

Its very easy to do with cPanel installed on your host.
There is a section for custom ERROR Pages.
   
Reply With Quote
Re: Create custom 404 Error Pages
Old
  (#10 (permalink))
doTs4You.
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Create custom 404 Error Pages - 12-25-2006, 09:24 AM

I usually use cPanel to set this things, but anyways, thanks you very much!
   
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.0
Points Per Thread: 15.0
Points Per Reply: 5.0


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginners Guide to Linux + Easy Installation Guide, Abhimathur Tutorials 10 07-30-2007 11:43 PM
[CONTEST] Create a logo for me - 200ddpoints weblord ddPoints Exchange 22 08-25-2006 07:34 PM
Free custom celeb website layouts! sey Wonderful Websites 6 08-10-2006 08:04 AM


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 ©2007, Crawlability, Inc.