a more versatile link shortener