link

https://youshaoken.blogspot.com/2013/12/how-to-automatically-shrink-url-of.html