• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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