301 Redirect Htaccess
This guide is going to tell you how to write a permanent 301 redirect using the htaccess file. This method is search engine friendly and used by a lot of website owners.
I prefer to use htaccess files on my blog as sometimes I remove posts or update posts and need to redirect my visitors to the new url. 301 redirect htaccess is instant and in my opinion the best way to do redirects.
I have put an example that you can copy and paste into your own htaccess and just alter the urls;
Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/
If you want to permanently redirect a domain name then the best way to do that is through your domain registrar under the specific domain settings.