• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Custom error documents

J

jpipitone

Guest
I've enabled custom error documents and I've modified the not_found.html document within the error_docs directory, however I'm still getting a default page as the error page, rather than my custom 404 page.

Any ideas why this is happening? You can view the example here:

http://www.digitonestudios.com/doesntexist.html
 
OK - I've restarted apache and now it seems to work....

One thing - can I use PHP includes within this custom error document now?
 
I don't think so, the files have a standard name with the html extension. Apache won't recognize them as php files.
 
Back
Top