Relate the string of one path to another for shortening URLs.