Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Web Design, Coding & Programming Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 10-21-2005, 11:15 PM   #1 (permalink)
Googler
 
Join Date: May 2005
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
mustaq
Send a message via MSN to mustaq Send a message via Yahoo to mustaq
Create custom 404 Error Pages

Quote:
Create custom 404 Error Pages

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
Source 2

[Source link added -Darren]
mustaq is offline   Reply With Quote
 
Sponsored Links
Old 11-27-2005, 04:06 AM   #2 (permalink)
Noogle
 
Join Date: Nov 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
lordshaun
Send a message via MSN to lordshaun
this was really helpful
lordshaun is offline   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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a web server seomumbai Domain Name Forum 2 10-18-2006 07:24 PM
Mailed-by: custom.com prakhar Gmail Forum 0 10-08-2006 04:26 AM
How to Create Google Adsense Pages SEOforGoogle Google AdWords & AdSense Forum 1 09-06-2005 09:17 AM


All times are GMT -8. The time now is 02:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community