getRedirect now checks for 404s