Custom 404 page

I’m trying to specify a custom 404 error page for a specific sub-domain. In the past, adding this to the .htaccess file took care of that:

ErrorDocument 404 /404.php

But I can’t seem to get it to work with Hestia. I can load the page fine at domain.com/404.php but the errorDocument isn’t working.

Any suggestions?

Thanks.

His distribution is located at the following position.

/home/user/web/1domain.com/document_errors
/home/user/web/2domain.com/document_errors
/home/user/web/3domain.com/document_errors
/home/user/web/4domain.com/document_errors
/home/user/web/5domain.com/document_errors

Please change the corresponding files of the subdomains that need to be modified.

If you need to customize the original template, please change the configuration of the following path! Note: It will be overwritten in the next upgrade. Please make a backup!

/usr/local/hestia/data/templates/web/skel/document_errors

There is an setting in the settings to disable this feature…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.