This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Twitter Friendly Links

Description

The plugin creates a shorter link for every blog post, so instead of http://kovshenin.com/wordpress/plugins/twitter-friendly-links/ you can use http://kovshenin.com/712. Sweet, huh? Here’s a video presentation: Twitter Friendly Links for WordPress

  • Easy to setup and configure
  • Switch between 302 (temporary) and 301 (permanent) redirection
  • Lists all your posts/pages/attachments with short links to each
  • Shows the short link in the edit post/page form together with the text you can tweet out (trimmed to 140 characters) and a link to Twitter with the predefined text
  • You can output the twitter friendly link in your themes using the twitter_link() function
  • New function available: permalink_to_twitter_link() which takes a permalink as an argument and returns a Twitter Friendly Link (if exists)
  • Compatible with Sociable, Twitter Tools, Tweet This, SexyBookmarks and AskApache Google 404 plugins
  • Compatible with WordPress MU and BuddyPress
  • Configurable linking relations (HTML and HTTP) for rel=shortlink, and rel=canonical
  • Super easy tracking with Google Analytics! Destination links are Taggable!
  • You can now switch to alphanumeric links for sexy links with numbers and letters like example.com/s2e7
  • Caching with .htaccess option now available
  • Even shorter links with customizable shortlink base URL
  • More coming up soon!

YES, I do consider feature requests, and that is what makes this plugin work. The discussions go here: Twitter Friendly Links

Screenshots

  • The configuration panel
  • The posts with the pretty links
  • The edit post form

Installation

  1. Upload archive contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Take a look at Twitter Friendly Links in the Settings section of your Admin panel
  4. Make sure you enable Permalinks (Settings: Permalinks), otherwise this plugin will not work
  5. If you’re using any plugins mentioned in the Compatibility section in the Settings page, make sure you check the ones you’re using to activate the fixes.
  6. Your .htaccess file has to be writable all the time if you want to use caching with .htaccess

FAQ

How can I get the short link in my theme?

Use the twitter_link() function in your theme (within the_loop) that returns the shortened URL. For example:

if (function_exists("twitter_link")) { echo '<a href="' . twitter_link() . '">Twitter Friendly Link</a>'; }
Do I get backlinks counted by search engines with this?

Yes you do. TinyURL links give backlinks to TinyURL.com, while short links generated by this plugin give direct backlinks to your website. This is good for SEO.

Contributors & Developers

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

Contributors

Changelog

0.5

  • Removed .htaccess caching
  • Fixed some cache plugins bugs
  • New layout of the edit posts screen
  • Compatibility with Retweet Anywhere

0.4.5

  • Caching with .htaccess now available in beta (generic format only)
  • Custom shortlinks base URL for even shorter links
  • Minor bugfixes and code cleanup

0.4.4

  • Added compatibility with the caching plugins that use the is_404 function, including W3 Total Cache.

0.4.3

  • Fixed the “Twitter Stuff” bug in 0.4.2
  • Fixed the versioning issues. Upgrades are now smoother.

0.4.2

  • Fixed a 0.4.1 bug, again thanks to Josh Jones 🙂
  • SexyBookmarks fix removed (Josh Jones made a cool fix in his great plugin)
  • Code cleanup

0.4.1

  • Added alphanumeric links option in the settings panel
  • Removed rev=canonical link relation
  • WordPress 2.8.4 compatibility test

0.4

  • Code cleanup
  • SexyBookmarks plugin fix
  • WordPress 2.8.3 compatibility test

0.3.8

  • Licensed under GPL v3

0.3.7

  • Compatible with the Sociable plugin
  • Added attachments shortlink support
  • Enable shortlinks for posts/pages/attachments now in configuration

0.3.6

  • Destination links now taggable for easy Google Analytics Tracking.

0.3.5

  • Compatible with Tweet This plugin
  • WordPress 2.8, 1.5 compatibility checked

0.3.4

  • Now compatible with AskApache Google 404 plugin
  • Link relations (rel=shortlink, rel=canonical, rev=canonical)
  • Some script optimization (wp_post_count)

0.3.3

  • Now compatible with WordPress MU (subdomain and subdirectory blogs)

0.3.2

  • Bugfix: Pages are now dynamic in the Settings page of the plugin
  • Compatibility with the Twitter Tools plugin
  • New function: permalink_to_twitter_link()

0.3.1

  • Bugfix: Shortlinks are now fine when wordpress is running in a different directory
  • Changed default link style to blank (example.com/123) instead of “go”. This will affect only newcomers
  • Minor bugfixes and code cleanups

0.3

  • Short links now available for pages too
  • AJAX pagination of posts/pages with their shortlinks in the admin panel

0.2

  • Added the Twitter Stuff section in the edit post form with handy links
  • Added the twitter_link() function

0.1

  • Added the configuration panel
  • Ability to list all posts together with their short links
  • Ability to switch between 302 and 301 redirects
  • Added some screenshots 😉

0.1b

  • This is the start. Don’t be too rude!