
A straight forward redirection using .htaccess. Note that the domain name should be omitted from From address and it should always be there in To address, even if the redirection is on same server.
<IfModule mod_rewrite.c> RewriteEngine On redirect 301 FromAddress ToAddress </IfModule>