Title: Shorter Links
Author: akrabat
Published: <strong>2009 ལོའི་ཟླ 4 ཚེས 12 ཉིན།</strong>
Last modified: 2015 ལོའི་ཟླ 8 ཚེས 8 ཉིན།

---

མཐུད་སྣེ་བཤེར་འཚོལ།

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/shorter-links.svg)

# Shorter Links

 རྩོམ་པ་པོ། [akrabat](https://profiles.wordpress.org/akrabat/)

[ཕབ་ལེན།](https://downloads.wordpress.org/plugin/shorter-links.2.1.0.zip)

 * [ཞིབ་ཕྲ།](https://bo.wordpress.org/plugins/shorter-links/#description)
 * [གདེང་འཇོག](https://bo.wordpress.org/plugins/shorter-links/#reviews)
 *  [སྒྲིག་འཇུག](https://bo.wordpress.org/plugins/shorter-links/#installation)
 * [ཡར་རྒྱས།](https://bo.wordpress.org/plugins/shorter-links/#developers)

 [རམ་འདེགས།](https://wordpress.org/support/plugin/shorter-links/)

## ཞིབ་བརྗོད།

The **Shorter Links** WordPress plugin overrides the default WordPress
 “shortlink”
URL with one that has a custom text in it. You can also set a different base URL.

A custom field called “Shorter link” is created once a post is saved,
 so that you
can change the shortlink to a more memorable set of characters.

The choice of base URL to use for the short link can be configured within
 Settings-
>Shorter Links.

Related Links:

 * [Plugin home page](http://akrabat.com/shorter-links)

### Licence

This plugin is licensed under the [New BSD license](http://akrabat.com/license/new-bsd).

### History

**2.1.0 – 8 August 2015**
 Rework to look for the shorter link after WordPress has
done its processing. This means that a shorterlink that represents a date won’t 
affect an archive list.

**2.0.6 – 8 August 2015**
 Ensure that the short_link is correct when using a post
id.

**2.0.5 – 8 August 2015**
 Updated Tested up to 4.3

**2.0.3 – 9 July 2012**
 Bug fix so that archives work.

**2.0.2 – 23 June 2012**
 Fall back to REQUEST_URI if there’s nothing interesting
in $query_vars.

**2.0.1 – 20 June 2012**
 Updated to handle 4 digit short links that look like a
year to WordPress.

**2.0.0 – 21 November 2010**
 Updated to be WordPress 3.0 or above, so we only need
to hook into the WordPress shortlink system

**1.8.2 – 21 November 2010**
 Fix permissions issue on settings page. This is the
last version that works on WordPress 2.9.x or earlier.

**1.8.1 – 7 September 2010**
 Bug fix to remove a warning.

**1.8 – 1 September 2010**
 use shortlink rather than shorturl for WordPress less
than 3. For WordPress 3 or higher, hook into the new shortlink system. Fix the admin
page so that it displays in WordPress 3.

**1.7 – 11 Feburary 2010**
 Handle failures better.

**1.6 – 10 January 2010**
 Update version number in correct places so that the WP
plugins system notices the update.

**1.5 – 29 December 2009**
 Support permalinks that start with /%category%/

**1.4 – 14 April 2009**
 Support rel=”shorturl” as per [Robert Spychala’s Short URL Auto-Discovery proposal](http://sites.google.com/a/snaplog.com/wiki/short_url).

**1.3 – 14 April 2009**
 Add support for setting the base URL. Patch by [Dave Marshall](https://bo.wordpress.org/plugins/shorter-links/davemastergeneral@gmail.com?output_format=md).

**1.2 – 13 April 2009**
 Only send the `Link` HTTP header as recommended by [Shiflett](http://shiflett.org/blog/2009/apr/a-rev-canonical-http-header).

**1.1 – 13 April 2009**
 Fixed output of HTTP headers. Patch by [Jeff Waugh](http://bethesignal.org/).

**1.0 – 11 April 2009**
 Initial release.

## སྒྲིག་འཇུག

 1. Upload `shorter_links.php and config.php` to `/wp-content/plugins/shorter-links`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. If you want to set a different base URL, change it from
     Settings->Shorter Links.
 4. To set a custom shorter link, update a post so that the custom field is
     created
    and then fill in a unique value in the field.

## FAQ

  Is there a bookmarklet to extract shorturl links?

Try this bookmarklet: [Short URL](https://bo.wordpress.org/plugins/shorter-links/',found);}else{alert("No%20shortlink%20found");}})();?output_format=md)

(Just drag to your bookmarks bar)

The source of the bookmarklet is:

    ```
    javascript:(function(){var%20url=document.location;var%20links=document.getElementsByTagName('link');var%20found=0;for(var%20i=0,l;l=links[i];i++){if(l.getAttribute('rel')=='shortlink'||(/alternateshort/).exec(l.getAttribute('rel'))){found=l.getAttribute('href');break;}}if(!found){for(var%20i=0;l=document.links[i];i++){if(l.getAttribute('rel')=='shorturl'){found=l.getAttribute('href');break;}}}if(found){prompt('URL:',found);}else{alert("No%20shortlink%20found");}})();
    ```

There’s also the “[Short URL](http://github.com/clintecker/Shorturl-Safari-Extension)”
Safari extension by Clink Ecker.

## གདེང་འཇོག

![](https://secure.gravatar.com/avatar/8a7629e1e54e68621c660501429615a12438399af10822d8f0948c6010d153c1?
s=60&d=retro&r=g)

### 󠀁[Doesn't Work with Tag or Category Archives](https://wordpress.org/support/topic/doesnt-work-with-tag-or-category-archives/)󠁿

 [](https://profiles.wordpress.org/mperry8304/) 2016 ལོའི་ཟླ 9 ཚེས 3 ཉིན།

This works fine for pages and posts. However it adds non-working links in the headers
of tag and category pages.

![](https://secure.gravatar.com/avatar/da5bed527fcc5db54d3a15ab65773c65b5521d3a13de9d0ec4de65111c6de36e?
s=60&d=retro&r=g)

### 󠀁[Works but low quality](https://wordpress.org/support/topic/works-but-low-quality/)󠁿

 [1F913](https://profiles.wordpress.org/1f913/) 2016 ལོའི་ཟླ 9 ཚེས 3 ཉིན།

![](https://secure.gravatar.com/avatar/25d33538f92c811dccfddd18b368804f817e9164d589855991f1bec99ea487a6?
s=60&d=retro&r=g)

### 󠀁[Simple and functional](https://wordpress.org/support/topic/simple-and-functional-41/)󠁿

 [Alias79](https://profiles.wordpress.org/alias79/) 2016 ལོའི་ཟླ 9 ཚེས 3 ཉིན།

I love this plugin, it does exactly what I need. It has a small issue for me, which
certainly can be solved (it is reported here https://wordpress.org/support/topic/
short-links-with-p?replies=1#post-7856701).

![](https://secure.gravatar.com/avatar/6b0da1a389a4ac99558a33a21a1b1859dcf0c1064d1b031e737bed0c0296d27b?
s=60&d=retro&r=g)

### 󠀁[Works for me!](https://wordpress.org/support/topic/works-for-me-174/)󠁿

 [mkthefeathers](https://profiles.wordpress.org/mkthefeathers/) 2016 ལོའི་ཟླ 9 ཚེས
3 ཉིན།

I used a different domain name for the short URL and it works, simple solution. 
No complications. But I wish there was an option to edit the shortlink instead of
using WordPress’s default one?

 [ གདེང་འཇོག 4 ཡོངས་སུ་ཀློག ](https://wordpress.org/support/plugin/shorter-links/reviews/)

## བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

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

བྱས་རྗེས་འཇོག་མཁན།

 *   [ akrabat ](https://profiles.wordpress.org/akrabat/)

[ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Shorter Links” ཡིག་སྒྱུར་བྱོས།](https://translate.wordpress.org/projects/wp-plugins/shorter-links)

### Interested in development?

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

## ཟུར་བརྗོད།

 *  Version **2.1.0**
 *  Last updated **ལོ 11 སྔོན།**
 *  Active installations **100+**
 *  WordPress version ** 3.0 ཡང་ན་དེ་ལས་མཐོ་བ། **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/shorter-links/)
 * Tags
 * [links](https://bo.wordpress.org/plugins/tags/links/)[revcanonical](https://bo.wordpress.org/plugins/tags/revcanonical/)
   [shortlink](https://bo.wordpress.org/plugins/tags/shortlink/)[shorturl](https://bo.wordpress.org/plugins/tags/shorturl/)
   [url shortener](https://bo.wordpress.org/plugins/tags/url-shortener/)
 *  [མཐོ་རིམ་མཐོང་སྣང་།](https://bo.wordpress.org/plugins/shorter-links/advanced/)

## གདེང་འཇོག

 3.8 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/shorter-links/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/shorter-links/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/shorter-links/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/shorter-links/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/shorter-links/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/shorter-links/reviews/)

## བྱས་རྗེས་འཇོག་མཁན།

 *   [ akrabat ](https://profiles.wordpress.org/akrabat/)

## རམ་འདེགས།

Got something to say? Need help?

 [རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།](https://wordpress.org/support/plugin/shorter-links/)

## ཞལ་འདེབས།

Would you like to support the advancement of this plugin?

 [ མཐུད་སྣེ་འདི་ལ་ཞལ་འདེབས། ](http://akrabat.com)