If you ever change your domain name and want your existing traffic redirected from the old to the new, htaccess is simply a great way of acomplishing this.
The code below redirects users as well as search engines informing them that the pages have moved permanently to the new address. It will also redirect any subdomains.RewriteCond %{HTTP_HOST} ^(.*)olddomain.com$ [NC]
RewriteRule ^.*$ http://www.newdomain.com%{REQUEST_URI} [R=301,L]
in Htaccess