Support Forums
Custom Error Pages, - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43)
+---- Thread: Custom Error Pages, (/showthread.php?tid=2011)



Custom Error Pages, - Brainless Control - 10-22-2009

For those wondering how to create custom error pages for their site click this link http://www.javascriptkit.com/howto/htaccess.shtml.
It explains everything very well.


RE: Custom Error Pages, - Akshay* - 10-23-2009

Hello.

xenocide..Can you please tell me that what is the helpful side of these error pages.


RE: Custom Error Pages, - Gaijin - 10-23-2009

(10-23-2009, 02:16 AM)Danger Wrote: Hello.
xenocide..Can you please tell me that what is the helpful side of these error pages.

You can control the output that your user gets to view.
Sometimes errors output something you don't want your user to see/know...
By creating custom error pages you can also inform your user about the situation way better than standard error pages.


RE: Custom Error Pages, - Headshot - 10-23-2009

This 'Danger' guy is funny.

Thanks for this, I'd like to make custom error pages when I get my host and shizz.


RE: Custom Error Pages, - Jamza - 10-23-2009

(10-23-2009, 02:16 AM)Danger Wrote: Hello.

xenocide..Can you please tell me that what is the helpful side of these error pages.

Also, it allows you to log/email yourself an error message to let you know that someone has got an error and it may require fixing.

I dont recommend setting up an email error screen for 404 messages as 30% of requests to your site will be 404's.


RE: Custom Error Pages, - manipulate - 10-24-2009

I did this for a few sites on my server a while back; just made an /error.php?c=errorcode.
First, I quickly wrote a Perl script that added every HTTP error code to MySQL along with the 'definition' (too lazy to add them manually) and then I made error.php (that was responsible for everything) that would show the user what happened and give them a nice message depending on what happened, of course the information was written to a database that I later wrote another Perl script to read through and tell me what went wrong.
a pretty nice solution >_>


RE: Custom Error Pages, - immi - 10-24-2009

I tried that previously, thanks for this though


RE: Custom Error Pages, - Extasey - 10-24-2009

Examples of ones you could rip off:

http://www.plinko.net/404/