htaccess file redirect 404 to root page apache2 code example Example: htaccess 404 redirect ErrorDocument 404 /404.html