shorten url for internal link