Own error pages

It is possible to create your own error pages on PHP hotels.

This can be done by creating a ".htaccess" file in your root directory with the following content:

ErrorDocument 404 /minfejlside.php

This example is for "404 - File not Found" error, but the principle can be used for all error codes (401, 403, 500, etc.).

Article from the support category: PHP