Hello,
I require assistance with the custom 404 error page configuration on my account. I have determined that a server-level setting is preventing my custom page from working, and I am writing to establish the correct procedure for overriding it.
My initial attempt to use the Control Panel’s “Error Pages” tool was met with a “403 Forbidden” error.
To rule out a panel-specific glitch, I then manually configured a .htaccess file in my /htdocs directory with the appropriate ErrorDocument directive. This had no effect, as the default InfinityFree 404 page continued to be served, confirming the issue is not with my local configuration but with a higher-level setting.
Further diagnosis confirmed this. The .htaccess file located in my root directory contains a master ErrorDocument rule that forces all 404 errors to the errors.infinityfree.net domain. This server-level rule is overriding my local .htaccess file and is the reason the Control Panel is correctly returning a “Forbidden” error, as it lacks the permissions to modify this protected, master configuration.
Now that the cause has been identified, please provide the correct method for overriding this master rule.
Thank you.