Title: ShortURL
Author: Nikolay Kolev
Published: <strong>20 avril 2009</strong>
Last modified: 16 août 2009

---

Recherche d’extensions

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

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

# ShortURL

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

[Télécharger](https://downloads.wordpress.org/plugin/shorturl.0.4.2.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/shorturl/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/shorturl/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/shorturl/#installation)
 * [Développement](https://fr-ca.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.

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« ShortURL » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

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

[Traduisez « ShortURL » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/shorturl)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/shorturl/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/shorturl/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/shorturl/)
par [RSS](https://plugins.trac.wordpress.org/log/shorturl/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 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!

## Méta

 *  Version **0.4.2**
 *  Last updated **il y a 17 années**
 *  Active installations **10+**
 *  WordPress version ** 2.7 ou plus **
 *  Tested up to **2.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/shorturl/)
 * Tags
 * [revcanonical](https://fr-ca.wordpress.org/plugins/tags/revcanonical/)[short url](https://fr-ca.wordpress.org/plugins/tags/short-url/)
   [shortlink](https://fr-ca.wordpress.org/plugins/tags/shortlink/)[shorturl](https://fr-ca.wordpress.org/plugins/tags/shorturl/)
   [url shortener](https://fr-ca.wordpress.org/plugins/tags/url-shortener/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/shorturl/advanced/)

## Notes

No reviews have been submitted yet.

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/shorturl/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://nikolay.com/projects/sponsor/)