What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Custom 404 Error Pages

Custom 404 Error Pages
Author: Message:
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
O.P. Custom 404 Error Pages
How do I make a a 404 error page like Viking Tapes' custom 404 error page, with the auto suggesting? See the link, you'll know what I mean.

This post was edited on 07-09-2005 at 02:24 AM by rav0.
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
07-09-2005 02:17 AM
Profile E-Mail PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Custom 404 Error Pages
Learn php, write a suggestions system :P

Use an opendir or something, index all files, and check them letter by letter to see if there close to the file spesified

This post was edited on 07-09-2005 at 02:23 AM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-09-2005 02:22 AM
Profile PM Web Find Quote Report
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
O.P. RE: Custom 404 Error Pages
[Image: msn_disappointed.gif]
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
07-09-2005 02:32 AM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Custom 404 Error Pages
The link you gave actually just uses an Apache feature...

http://httpd.apache.org/docs-2.0/mod/mod_negotiation.html
07-09-2005 05:16 AM
Profile PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Custom 404 Error Pages
hmm another way (probley slower than the apache method) is to use pspell , add all the files to its dictionary then do a spell check on it.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-09-2005 06:58 AM
Profile PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Custom 404 Error Pages
OR, you could define the 404 Error page in a .htacces file lke this:

code:
ErrorDocument 404 /error404.htm

And then when a page doesn't excist it will redirect to error404.htm in the directory where you have the .htacces file

Example for my website:
http://www.tsdme.nl/bullshitpagethatisntthere.htm

EDIT: I didn't read the website you provided correctly, anywaay, this is how to redirect to a 404 :P

This post was edited on 07-09-2005 at 03:03 PM by Ezra.
[Image: 1-0.png]
             
07-09-2005 03:02 PM
Profile PM Web Find Quote Report
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
RE: Custom 404 Error Pages
or in cpanel it does it for you just give it the code in the error pages section ;)
07-09-2005 03:07 PM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Custom 404 Error Pages
quote:
Originally posted by Absorbation
or in cpanel it does it for you just give it the code in the error pages section ;)
quote:
Originally posted by Ezra
OR, you could define the 404 Error page in a .htacces file lke this:

;) both of you it may help if you looked at the website first , he wasnt asking how to do 404 pages he was asking how to do 404 pages which suggest what file the user wanted.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-09-2005 03:09 PM
Profile PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Custom 404 Error Pages
Yeah, I found out about that later :P, but I didn't delete my post because it's a easy way to make a custom 404, and someone might learn something :P
[Image: 1-0.png]
             
07-09-2005 03:20 PM
Profile PM Web Find Quote Report
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
O.P. RE: RE: Custom 404 Error Pages
quote:
Originally posted by -dt-
he wasnt asking how to do 404 pages he was asking how to do 404 pages which suggest what file the user wanted.

But I needed to know anyway ;).
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
07-10-2005 02:30 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On