I personally prefer to use redirector to do it. It has served me quite well so far.
https://einaregilsson.com/redirector/