Need a short URL service? Try Wordpress!
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!?



blackysky 6:59 pm on May 6, 2009 Permalink |
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….
Tutorial City 1:46 am on May 8, 2009 Permalink |
Very useful tip! Thanks a lot
Tschai 4:55 pm on May 14, 2009 Permalink |
And here’s a plugin with some extra’s:
http://kovshenin.com/wordpress/plugins/twitter-friendly-links/
Probably worth trying out…
Tschai 8:56 pm on May 6, 2009 Permalink |
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