htaccess file 404 redirect in php code example Example: htaccess 404 redirect ErrorDocument 404 /404.html