Return url shortcode in promise resolve.