Fresh Bit #2 – Redirects and Your Social Networks
Posted: June 14th, 2009 | Author: Bernie Chew | Filed under: Fresh Baked, Fresh Bit | CommentsOne of the important components of being a web socialite is the ability to throw out URLs like business cards. You might have seen how many people waited patiently to get their vanity URL on Facebook. There is a simple way (if you know how to edit your .htaccess file) to create a redirect to your page.
So, you can simply forward something like http://www.yourcompanyname.com/facebook to your Facebook page.
Here’s how:
- Open your .htaccess file
- Add this line of code
redirect 301 /old/old.htm http://www.you.com/new.htm
- Save your .htaccess file
So there you have it. For more information on .htaccess and further examples, visit the htaccess 301 redirect tutorial

