Encode the whole permlink.