Making the 404 page redirect to shortened links