htaccess redirect directory to 404 page code example Example: htaccess 404 redirect ErrorDocument 404 /404.html