Need a short URL service? Try Wordpress!

Apr 15th 2009
4 Comments
respond
trackback

Twitter logo courtesy of http://www.hongkiat.com
Although I’m still not ‘tweetin’ I do see it’s potential for promoting the fan-tas-tic project, once it’s finished.
And in my search to do this I stumbled across this article: 10 Exceptional WordPress Hacks. And I noticed a remark in the comments section (#12) about using the built-in default WordPress URL-structure instead of TinyUrl or any other third party service.
I was triggered immediately (comment #25) because I am considering to implement a ‘(re)tweet this’ feature and my options until now were automated TinyUrl’s or a ShortUrl plugin.

As stated above why not try the default URL of WordPress itself? As long as your own domain is not too long, why not give it a try? After having looked around in codex, the solution seemed very simple:

<?php echo get_bloginfo('url')."/?p=".$post->ID; ?>

For example http://www.fan-tas-tic.com/?p=200 is short enough without the disadvantages of a third party services and your own domain is indexed/searched in twitter and other tools. And you still keep your fancy permalinks. Win, win, win!

So looking for a short Url service for your Wordpress blog; why not use Wordpress itself?
Now isn’t this something to tweet about!?

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Related posts:

  1. Unstandard theme now Wordpress 2.7 compatible
  2. Wordpress Stats twice as good as Google Analytics?

This post is tagged , ,

4 Comments

  1. And here’s a plugin with some extra’s:
    http://kovshenin.com/wordpress/plugins/twitter-friendly-links/

    Probably worth trying out…

    [Reply]

  2. Very useful tip! Thanks a lot ;)

    [Reply]

  3. You won’t have a nifty tracking function this way, indeed.

    However, my theory is, that you shouldn’t care if you’re successful and that’s it’s not worth tracking if you have only a few trackbacks ;)

    [Reply]

  4. it is great but there is no tacking funtion in this simple trick but it is a simple trick.

    of course it is possible to create a tracking system with wordpress alone….. if someone does it he got a killer fore sure….

    [Reply]

Incoming Links

Leave a Reply (most recent reply shown at top)