.htaccess Social Network Redirects

July 13th, 2011

Today I saw a rather ingenious idea in action. Syd Lawrence, who's been very busy with Google+ recently, redirected sydlawrence.com/+ to his Google+ account. It works best on domains after your own name and would probably be effective on business cards where space for text is limited.

To achieve it, simply paste this line into your .htaccess file:
Redirect /+ https://plus.google.com/[userid]/posts

I came up with a couple of others, too:
Redirect /face https://facebook.com/[username]/
Redirect /tweets http://twitter.com/#!/[username]/
Redirect /listens http://www.last.fm/user/[username]


About the Web. There are no comments (yet!).