Check if link exists before making it