View Full Version : error pages

02-09-2003, 03:47 AM
how would i make error pages?

real link: http://www.warpcell.com/articles/
mis-typed link: http://www.warpcell.com/article/

how would i make it so if the user did the mis-typed link it would direct them to a custom error page?

02-09-2003, 04:14 AM
You mean unknown typos, any typos?

Got Apache? Try mod_speling. :D

02-09-2003, 04:17 AM
what would i do on that site? i read over it but didnt find anything on how do do what i asked...

02-09-2003, 09:50 AM
ok... if you're allowed to use .htaccess then try this:

make an error page which can be understood by non-geeks and then make a file called ".htaccess" (sometimes windows doesnt like having nothing infront of the dot... in which case call it "mongooses.htaccess" and remove the "mongooses" bit when youve uploaded it. ;))

in your file youve just created put this:

ErrorDocument 404 http://www.example.com/errorpage.html

make sure that page exists or youre server will be stuck in endless loops...

you could mess around with other errors too, 401, 403, 500, and 501 are the most common. actually 200 would be the most common... thats always good fun... ;)

now read this:


does that help at all?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum