Hi,I think , First you need to get the resource by passing the "referer" value like - resolver.getResource("referer") then you can get the short url. Since the URL is resolved to Short URL, this resource path will not available when you do getResource.Hope this makes some sense.