Added redirect when status is 404