Knowledgebase
Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:


Custom error pages do not work

Solution

In case you have problems with the custom error page for 404 or 500 errors you should create a .htaccess file in the public_html directory containing one of the lines below. If you already have a .htaccess file you should add these lines: 

  • For custom 404 error page:

ErrorDocument 404 /~cpanel_username/404.shtml

  • For custom 500 error page:

ErrorDocument 500 /~cpanel_username/500.shtml

The other option is to use different file names for your error pages. For example: 

  • For custom 404 error page:

ErrorDocument 404 /4004.shtml

  • For custom 500 error page:

ErrorDocument 500 /5000.shtml

The above directives will apply recursively to all subdirectories as well.

 
Was this article helpful? yes / no
Article details
Article ID: 184
Category: General cPanel FAQ
Date added: 2012-12-07 12:54:58
Views: 14
Rating (Votes): Article rated 3.0/5.0 (2)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid