The power of social media - Is it working for you?

Fresh Bit #2 – Redirects and Your Social Networks

Posted: June 14th, 2009 | Author: Bernie Chew | Filed under: Fresh Baked, Fresh Bit | Comments

One 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:

  1. Open your .htaccess file
  2. Add this line of code

    redirect 301 /old/old.htm http://www.you.com/new.htm

  3. Save your .htaccess file

So there you have it. For more information on .htaccess and further examples, visit the htaccess 301 redirect tutorial


blog comments powered by Disqus