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.

Short Link


The Short Link WordPress plugin automatically creates a link element in the
section of the post’s page with rel=”shortlink” attributes. The URL in
the href attribute defaults to the id number of the post in question but can
be overridden with a human-friendly slug after the post has been saved.

It also creates an HTTP Link header that conveys the same information as a
performance optimisation (clients need only do a HTTP HEAD to resolve the URL)

The link element looks like this:

<link rel="shortlink" href="{url}" />

The HTTP header is:

Link: <{url}>; rel=shortlink

Related Links:

  • Google Code Site:


  • Allow some more flexibility with the creation of shortlinks:
    • numeric unique identifier (e.g.
    • compressed numeric unique identifier (e.g.
    • human friendly slug (e.g.


This plugin is licensed under the Apache 2.0 license:


  • 1.0 – 2009-04-13
    Initial release.


  1. Upload shortlink.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To set a custom short link, update a post so that the custom field is
    created and then fill in a unique value in the field.

Contributors & Developers

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


Translate “Short Link” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.