Redirecting to error 404 page in case requested page is not found