set 404 page on server htaccess code example Example: htaccess 404 redirect ErrorDocument 404 /404.html