Add link shortening and redirect handling.