Short URLs to Social Services Using Own Domain and .htaccess Redirection Dec 11, 2008 // 11:19 pm

These days, there are many social services we use. I use some of them. Bloggers or websites also provide some links on their blogs/websites to those social service. If links to our profile is easy to remember, that should be great. For example, it’s easy to remember my Flickr photostream using http://flickr.com/orangescale, or Twitter account (http://twitter.com/thomasarie).

But, what about Facebook, Technorati, or LinkedIn? My Facebook profile page is located here: http://www.facebook.com/people/Thomas-Arie-Setiawan/695771665. There is a Facebook application to create more memorable Facebook profile, page or group. They will be something like profile.to/thomasarie or groups.to/AnyGroupName.

Few days ago, @mahadewa and @huda mentioned about this. Anyway, there is .htaccess for redirection. So, why not using it to produce more memorable URLs for our profile? It’s easy. Now, I can have http://orangescale.net/facebook (Facebook profile), http://orangescale.net/linkedin (LinkedIn profile), and more.

Since [added later: I have my own domain name,] my web hosting uses Apache and supports .htaccess, it’s very easy to do it. I just put these lines in my .htaccess (in the root folder).

Redirect 301 /facebook http://www.facebook.com/people/Thomas-Arie-Setiawan/695771665
Redirect 301 /flickr http://flickr.com/orangescale
Redirect 301 /linkedin http://www.linkedin.com/in/thomasarie
Redirect 301 /openid http://openid.orangescale.net/thomasarie
Redirect 301 /technorati http://technorati.com/people/technorati/thomasarie

“Redirect 301″ means permanent redirection. You can add as many redirection rules there. Just see the patterns there, pretty easy to understand, right? And, I think it’s easier to remember. It also nice if we use it for our business card :)

  • http://www.toogeektobetrue.com Chris Prakoso

    It’s a good idea. The only thing is, not everybody would have access to his/her .htaccess file, let alone understand how to edit it.

  • http://kyantonius.com Kemas

    Nice tips. Thanks. :)

  • http://bocahmiring Hamid

    Thanks, nice tips kang…

  • http://blog.denysri.com Deny Sri Supriyono

    thanks tipsnya, mas.
    menarik banget nih, akan dicoba segera.

  • http://blog.denysri.com Deny Sri Supriyono

    sudah dicoba dan berhasil!
    thanks sekali lagi, mas.

  • http://orangescale.net Thomas Arie

    True. I think this will work for those who can access .htaccess on their web hosting server.

  • http://orangescale.net Thomas Arie

    Kemas, Hamid, Deny …. you’re very welcome!

  • http://adhipunya.web.id Adhi Yudho

    simple .. but very usefull ..

    txs Thom..

blog comments powered by Disqus

Live search:

I'm @thomasarie on Twitter

Subscribe to RSS

Enter your email address and get recent updates sent to your email in the morning.

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Designed by Thomas Arie. Icon character by Fredy Sujono.