Search for "self" links when resolving URLs