Instead of 302 redirecting to error page, fetch it and give a 404. Should work better with regards to SEO