A custom error page, called 404.shtml, placed 1 day ago, in /public_html/, is not being used. What could be the reason? How to remedy this?
Thanks!
A custom error page, called 404.shtml, placed 1 day ago, in /public_html/, is not being used. What could be the reason? How to remedy this?
Thanks!
Found the solution in an old thread.
Just in case someone with the same problem stumbles on this question:
What the cPanel documentation does not tell is that one has to make an entry in the corresponding
.htaccess file (generally the one in the public_html folder).
The entry in the .htaccess file should look like:
ErrorDocument CODENUMBER ERRORFILE
E.g:
ErrorDocument 404 /custom-404.shtml
--
One can also make specific error codes for subdomains by modifying the .htaccess file in the subdomain's directory and placing the subdomain-specific error page there.
The full info is available on:
http://support.hostgator.com/index.p...barticleid=312
Enjoy
M