check redirect link found whether published

After searching for a redirect for the complete URL check not only whether there was a match at all but check also whether this redirect ist published. If either is not the case try to find a redirect with the server-relative URL.