Set the link according to the user's request