During the process of migrating my blog to a new address I didn’t want to lose the old links (and all the history associated with them in Google ;-)), so to avoid this I programmed a small tool that allows to redirect addresses across multiple servers using the HTTP 301 status code, which is the best way to change a URL of a resource.
The code is available from here.