Title: ShortURL
Author: Nikolay Kolev
Published: <strong>April 20, 2009</strong>
Last modified: August 16, 2009

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/shorturl.svg)

# ShortURL

 By [Nikolay Kolev](https://profiles.wordpress.org/kolev/)

[Download](https://downloads.wordpress.org/plugin/shorturl.0.4.2.zip)

 * [Details](https://pcd.wordpress.org/plugins/shorturl/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/shorturl/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/shorturl/#installation)
 * [Development](https://pcd.wordpress.org/plugins/shorturl/#developers)

 [Support](https://wordpress.org/support/plugin/shorturl/)

## Description

The ShortURL plugin allows you to use your blog as your own URL shorterning service
by implementing the [Short URL Auto-Discovery](http://wiki.snaplog.com/short_url)
specification. Your short URLs will be in the form of `http://domain/-code`.

The auto-discovery feature allows third-party services that honor it to use your
own short URLs instead of generating new ones using services such as [TinyURL](http://tinyurl.com/),
[bit.ly](http://bit.ly/), and others. This gives your posts and pages canonical 
short URLs that give you all SEO benefits and don’t leak traffic out to external
domains and will prevent linkrot. The homepage short URLs is set to just `http://
domain/` as a unique feature.

The other great benefit of the ShortURL plugin is that the generated short URLs 
won’t break if you change the permalink structure of your blog or rename the slug
of a particular post or page.

Due to the recent choice of both the [Microformats](http://microformats.org/) community
and [WordPress.com](http://wordpress.com/) to use `rel="shortlink"` vs the alternative
proposals, the ShortURL plugin is also using it now.

More on the topic:

 * [Microformats Wiki: rel=”shortlink”](http://microformats.org/wiki/rel-shortlink)
 * [WP.me – shorten your links](http://en.blog.wordpress.com/2009/08/14/shorten/)

### To Do

 * Test against [WordPress](https://wordpress.org/) 2.9 and [WordPress MU](https://mu.wordpress.org/)
 * Add a settings page
 * Add a widget
 * Integrated with [Google Analytics](http://www.google.com/analytics/)
 * Integrate with the top [Twitter](http://twitter.com/) plugins to use ShortURL
   instead of third-party services

## Installation

 1. Upload `shorturl.zip` to the `/wp-content/plugins/` directory
 2. Unzip the archive
 3. Activate the plugin through the ‘Plugins’ menu in WordPress Admin
 4. Update the settings

## FAQ

  Why did you choose Short URL vs RevCanonical or shortlink specifications?

RevCanonical is not supported by HTML 5 and it seems that [Short URL](http://wiki.snaplog.com/short_url)
is getting wider support by big blogs such as [Ars Technica](http://arstechnica.com/)
and other sites such as [PHP](http://php.net/). We will closely monitor the developments
and implement the winning specification.

  Are you planning to provide third-party URL shorteners?

Yes, in the near future. Actually, third-party providers are already supported by
the `Short URL` custom field, but it’s not automatic and you have to shorten the
URLs manually.

  Are you planning to support alternative domains for short URLs?

Yes and this will also eliminate the dash in the URLs.

  Will you add support for custom short URL patterns?

Yes. The dash-based one will continue to be the default one though.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ShortURL” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Nikolay Kolev ](https://profiles.wordpress.org/kolev/)

[Translate “ShortURL” into your language.](https://translate.wordpress.org/projects/wp-plugins/shorturl)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/shorturl/), check out
the [SVN repository](https://plugins.svn.wordpress.org/shorturl/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/shorturl/) by [RSS](https://plugins.trac.wordpress.org/log/shorturl/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.4.2

 * Minor plugin info cleanup

#### 0.4.1

 * Minor plugin info cleanup

#### 0.4

 * Added `[shorturl]` shortcode
 * Added `the_shorturl()` and `get_shorturl()` functions for use in themes
 * Switched to `rel="shortlink"` similarly to [WP.me](http://wp.me/)

#### 0.3

 * Replaced the tilde (~) with dash (-) in the short URLs similarly to [FriendFeed](http://friendfeed.com/)&
   [Ginx](http://ginx.com/), but the tilde is still supported for backward compatibility

#### 0.2

 * Added a short URL for the homepage

#### 0.1.1

 * Fixed a versioning issue

#### 0.1

 * First release. Yay!

## Meta

 *  Version **0.4.2**
 *  Last updated **17 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **2.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/shorturl/)
 * Tags
 * [revcanonical](https://pcd.wordpress.org/plugins/tags/revcanonical/)[short url](https://pcd.wordpress.org/plugins/tags/short-url/)
   [shortlink](https://pcd.wordpress.org/plugins/tags/shortlink/)[shorturl](https://pcd.wordpress.org/plugins/tags/shorturl/)
   [url shortener](https://pcd.wordpress.org/plugins/tags/url-shortener/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/shorturl/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/shorturl/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/shorturl/reviews/)

## Contributors

 *   [ Nikolay Kolev ](https://profiles.wordpress.org/kolev/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/shorturl/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://nikolay.com/projects/sponsor/)