How to set up redirect to other domains

I have an advertisement. After posting in the background, the link needs to be redirected to another domain name. How to operate it.

I set “Post URL” to empty.

Then set the domain name to be redirected to “Canonical URL” in “Meta data”.
Canonical URL:https://www.xxxx.com/test.html

I found that I can’t jump. How do I do it? I’m very anxious. Please help me.