Knowledgebase Banner Advert

How do I set up custom 404/500 error pages?

This article covers two ways to set up 404/500 error pages, but there are many additional methods available. 

1) Create a .htaccess file within your public_html directory, containing the following two lines: 

ErrorDocument 404 "/404.html
ErrorDocument 500 "/500.html

These directives send 404 and 500 errors to corresponding .html pages within your webspace. You will need to manually create the .html pages, and configure them to suit your requirements. 

2) Within your eXtend control panel, select "404/500 Error Page" from the 'CGI Scripts" section and install to a directory of your choosing. This will set up the .htaccess file and .html error pages for you. Errors are instead sent to a cgi script, which in turn redirects users to the corresponding htmlerror page.
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

When I try and view my website I get an HTTP Error 403 - Forbidden message.

A '403 Forbidden' message means that the browser has requested a page that it is not...

My links are not working. What is wrong?

First of all, check that the link is correctly spelled, and that the correct case is...

I've installed the formmail script, but my form isn't working. Why?

The Formmail Script is provided via the Control Panel, full usage instructions can be...

How do I enable gzip compression on my website?

You can decrease load times on your website by compressing the contents. You can do...

How can I enable directory indexing?

If you want to see a list of files in a directory when viewing it in...