Error pages inform visitors about problems when they try to access your site. Each problem has its own status code (for example, 404) and error page.

The web server (Apache) automatically provides basic error pages. But if necessary, you can create your own error page for any valid HTTP status code that starts with 4 or 5.

To set up an error page, go to "Advanced → Error Pages ".

file

In the window that opens, you select the domain you want.

file

Below, you are given a list of the most common bugs and their complete list.

file

To change the appearance of the error code, click on its text name, and in the window that opens, make the desired changes.

file

Click "Save ".

Now you need to connect this page in the configuration file .htaccess by adding the line:

ErrorDocument number_error http://site.ru/номер_ошибки.shtml  

An example of adding a 404 error:

ErrorDocument 404 http://site.com/404.shtml