I assume you mean using a link shortener like bit.ly or tinyurl?
Personally I would caution against using a link shortener in a printed document (or just generally). Your reference then relies on the link shortener staying active. Link shortening services don’t last forever, and if somebody wants to access a reference and the service has closed down, then your link becomes useless to them. (This is called “link rot”.)
I think the best practice is to minimise the number of URL references, and where you use them, get as much information as possible, just as you would for any other reference. Ideally you want enough information that somebody could find the page with a Google search, and not having to type in a URL. That way, somebody can find the page if they don’t want to type in a URL, or if the URL of the page changes (which often happens).
An interesting approach that I once saw to this problem was to use a Python script to embed a QR code with the URL. The reader could scan the QR code to get the full URL, without having to type it in themselves. Probably not appropriate for an academic document, but interesting nonetheless.
The Internet is a source of many wonderful things. Sadly, permanent references, link shortened or not, is not among them.