How can I build a redirect that works automatically?
You can't build a redirect to a different site, since that could be used for bad purposes (imagine redirecting to a popup-filled site). You can redirect to a page on the same wiki--see UseMod:PageRedirect for more information.