Addind URL check in link class.