WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

URL Shortener

This plugin allows you to generate shortlinks for post/pages using URL Shorteners (e.g. Bit.ly, Su.pr, YOURLS, Goo.gl and many others).

Announcement: After looking through the support requests and the code, I've decided to do a major re-think on the shortening process. As such, I'll take a little longer to re-write the plugin. I'll be adding in buddypress support and new social sharing support in the new iteration as well..

URL Shortener allows you to generate shortlinks for post/pages using URL Shorteners (e.g. Bit.ly, Su.pr and many others), with a few additional features.

Please check your settings when upgrading to Version 4.0 from previous versions prior to it.

What's New with 4.0

  • QR Code Support (using Google Chart API)
  • Additional Shorteners (Goo.gl, dlvr.it, yourls)
  • Nice ID links with QR Code (i.e. http://your_site/123.qr)
  • Version 4.0 features completely refactored code once again. Now includes classes which allows developers to easily extend the plugin.

Features:

  • Automatic generation of a Short URL/Shortlinks
  • Cached Shortlink - thus generated only once.
  • Choose to generate shortlinks using permalinks or the posts ID (e.g. http://your_site/index.php?p=123).
  • Relatively extensive shortlink support
  • Action Hooks available for other plugins to utilize generated shortlinks (From Ver 3.0 Onwards)
  • Nice ID links - http://your_site/123 instead of http://your_site/index.php?p=123
  • Shortcode support (Ver 3.1): Place [shortlink] in your article where you want to display the shortened url.
  • Append a link to short URL below your post content (Ver 3.1.1)

Refer to the documentation/wiki page at http://wiki.fusedthought.com/docs/url-shortener-wordpress-plugin for more information (eg. installation guide and known issues etc).

Services currently supported are:

  • goo.gl (beta)
  • bit.ly
  • tinyurl
  • is.gd
  • Su.pr
  • snipurl / Snurl / Snipr / Sn.im / Cl.lk
  • cl.gs
  • chilp.it
  • smsh (aka sm00sh)
  • urli.nl
  • unfake.it
  • awe.sm
  • Voizle
  • Interdose API
  • dlvr.it

Suspended

  • Ping.fm (Will be suspended until they reopen their API)

Available Template Tags

On-demand shortening function:

<?php fts_shorturl('http://www.google.com', 'bitly'); ?>

To show the generated links::

<?php fts_show_shorturl($post); ?>

Or if WordPress 3.0:

<?php the_shortlink(); ?>

http://codex.wordpress.org/Function_Reference/the_shortlink

Available hooks and filters

  • fts_use_shortlink (Action Hook)
  • fts_filter_shortlink (Filter)

Future Versions and on:

  • More services/features can be added upon request (http://code.google.com/p/url-shortener-plugin/issues/list)
  • Do note that due to my increasing need to concentrate on my studies, and a lack of financial contribution from such plugin development, I cannot possibly accede to all requests.

Support via:

Requires: 2.7 or higher
Compatible up to: 3.1.4
Last Updated: 2011-12-18
Downloads: 16,726

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
50,2,1 100,1,1
100,1,1
100,2,2 67,3,2
75,4,3
100,1,1
100,1,1 0,1,0 100,2,2
50,4,2
100,1,1
100,1,1
100,1,1