I am trying to implement a 404 page for a local / offline website if there is a dead link or such, but cannot get it to work locally, but only in an online environment... are there different settings / code to achieve this?
The .htaccess file includes the following:
notfound.html and .htaccess are stored in the parent file directory.
ErrorDocument 404 /notfound.html
We tested the 404 in an online environment, and everything was functional.
Would there be any issue with creating a 404 page for an offline directory, and how could this be overcome?