Trying to set up a customized 404 Page Not Found to my site. Within RapidWeaver I see this message –– Notice: You must add an ErrorDocument rule to your .htaccess file.
Could anyone give me some insight into what must be added to the .htaccess file to allow me to have a custom 404 page?
An example is given:
ErrorDocument 404 /dev.healthcareconnects.ca/not_found/
<FilesMatch “.(bmp|cur|gif|ico|jpe?g|png|svgz?|webp)$”>
ErrorDocument 404 /resources/404.jpg
Okay,
The page you are showing is in a subdomain of dev is that a development (playground)?
For the error document directive to work it should to be a fully qualified URL (with protocol https: //) and filename (index.html or index.php). Or it can be a relative address (relative to the domain)