Hi all,
I have created a custom 404 page in my root directory and have also modified the .htaccess file to set the ErrorDocument to my specified page. When I try to purposely visit a non-existant page to trigger the 404 response, I am still sent to the default 404 document that says:
Quote:
Not Found
The requested URL /example was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at domain.com Port 80
My file schema is as follows:
Code:
domain.com
.htaccess
404page.php
index.php
etc...
Also, the line I've entered in my .htaccess file:
ErrorDocument 404 /404page.phpWhy could be causing my page to not be displayed?
Advice appreciated!