Creating Error Page

apps

#1

Can we create our own error page? If so, how would we go about doing it?


#2

You sure can!

Just put a file called missing.html in the main web directory for your site! (this is for 404 errors, file not found).

You can also make custom errors for:
401 errors (failed auth): failed_auth.html
403 errors (forbidden): forbidden.html
500 errors (internal server error): internal_error.html

(see https://panel.dreamhost.com/kbase/index.cgi?area=961)

josh!


#3

Alternatively, you may also add a line or two in your .htaccess file:

ErrorDocument 404 your_custom_error_page.html

Similarly with other errors e.g. 401, 500, etc. :slight_smile:


Alleged Cybersquatter - knows a thing or two about domain names
http://www.nameslave.com