Generate short urls.