Write htaccess 301 redirects