Custom 404 ""Page Not Found"" on your site
To setup your custom error page, you will need to use a .htaccess file.
Put the following line(s) in this text file:
ErrorDocument 404 /path\_to/not\_found\_error\_page.html
ErrorDocument 403 /path\_to/forbidden\_error\_page.html
ErrorDocument 401 /path\_to/authorization\_error\_page.html
ErrorDocument 500 /path\_to/internal\_server\_error\_page.html
Then upload this file to your mainwebsite\_html directory or if accesible via File Manager in the folder /var/www/html
Please, make sure to replace the /path\_to/.... with the path to your custom HTML page.
Updated 4 months ago