This plugin, inspired by the WordPress plugin with the same name, provides Movable Type and Melody users with the ability to create custom short URLs for their own domain, and will automatically notify Twitter and/or Facebook with a message an entry author specifies.
The plugin works by integrated with su.pr, a URL shortening service provided by StumbleUpon.
- Config Assistant 1.8 or higher
This plugin is installed just like any other Movable Type Plugin.
Installation Instructions for self-hosted URLs:
Checked the "My own short-urls" checkbox in plugin settings.
Please add these lines to your rewrite.conf or .htaccess:
Note that the above URLs contain MT template tags. It is recommended that you create an index template to build your .htaccess so that these template tags gets built. Alternatively you can subsitute the tags for the appropriate values and paste into your existing .htaccess file. You also may need modify the relative URL to your 'mt-static' directory if it is something other than '/mt-static/'.
TODO: make this part easier by pre-building rules in some way.
Visit http://su.pr/settings/ and enter your domain to the list of promoted websites. Click Save and you should see the updated settings for your domain. Then click the "Synchronize" link. Once the features are enabled in your settings page, you are ready to go! Try to shorten a URL for web page on your website and you should have your very own short URL!
Get more traffic with the Supr bar
To receive more traffic from StumbleUpon, be sure to display the Supr bar when visitors click on a Su.pr short URL on your domain. The bar will only be displayed to visitors that click on a Su.pr link (it will not be displayed to visitors that come to your website from other sources).
Simply add the following link to your header portion of your web page (usually in a header template file):
Movable Type versions: 4.3