New WordPress Plugin: Twitter Friendly Links

Hey there! I'm currently working on a CLI tool to deploy WordPress apps to DigitalOcean. Check it out! It's free and open source.

So, you promote your blog posts via Twitter, huh? Me too. And those long blog post URLs, ugh! Yeah, we got rid of those using URL shortening services like TinyURL and but what about the name and/or brand? Your blog posts might be fab – very interesting to read and three thousand comments on each. But are you getting people to remember your website address in Twitter? No. Do you get backlinks from Twitter using TinyURL? No. Can you measure site statistics from TinyURL links on Twitter? No.

I’ve been inspired by a blog post (jeez I can’t remember where I read it, I’ll add the link as soon as I do) about the importance of posting nice links into Twitter. So I decided to create a plugin for WordPress, that would allow you to have your own TinyURL within your domain name. Here’s a quick example:

Might look like this in Twitter:

Which will take you to the page above with a simple redirect. I called the plugin Twitter Friendly Links. The go part of the address is customizable (dunno why I picked “go”, it may be “to” or just “g” for go or “p” for post – any way you like it). The TinyURL link ( is currently 1 symbol shorter, but it IS very ugly, isn’t it?

Also, there are some URL shortening services that open up the desired link in a stupid frame with stupid ads. What if TinyURL decide to make some money on ads? My suggestion: move on to your own domain. Oh and what if you have a very long domain that doesn’t fit into 140 characters in Twitter? Unlucky! ;)

Here’s the plugin page: Twitter Friendly Links

Please don’t forget that I am in the middle of the development process, so don’t shout at the first couple of betas, okay? And gimme feedback on anything that comes into your head. Also, stay tuned for the next release this week. If everything goes as expected you will have an options page in your wordpress administration as well as short links to copy to clipboard for every post.


16 thoughts on “New WordPress Plugin: Twitter Friendly Links

  1. Daily News About Twitter : A few links about Twitter - Saturday, 02 May 2009 04:11

  2. Thats what I am looking for. Great work. But – Does it work also with Twitpress by Tom Purnell?

  3. Hi David, the latest version seems to have an error…

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected $end in C:inetpubwwwrootlogwp-contentplugins witter-friendly-links witter-friendly-links.php on line 346

    I'm using WordPress 2.7 and the TweetMeme plugin… any help?

    • Thanks for the reply, I downloaded again as suggested and also deactivated TweetMeme for good measure but still get the same error when I try to activate

      unexpected $end in C:inetpubwwwrootlogwp-contentplugins witter-friendly-links witter-friendly-links.php on line 346

      I also amended the code so that it parses but it still fails to activate… very odd

    • What php version are you using Mike? Try to modify the source of twitter-friendly-links.php and add a closing php tag: <code>?></code>

    • Same problem all the way down to version 0.3, there's obviously an issue with some changes that have been made to a few standard wordpress files. I don't have time to debug that today though :-(

  4. Twitter Trackbacks for New WordPress Plugin: Twitter Friendly Links [] on

Comments are closed.