There are several things that I never did like about the URL shortener business.
First of all, you never know how long these services will last.
Tr.im’s surrender may lead to the If Tr.im kept their decision to shut down their service, we could have lost millions of links, unless some other company were to buy them out. You could try to use only extremely successful services like Bit.ly, but it will defeat its own purpose in the long run: Bit.ly is already using 5 characters after their URL, not making it that short anymore. If you go with less used services you might have shorter urls but you could end up using a service that, in few months, may be out of business.
On top of that, you are really wasting a lot of “link juice,” vital for ranking better on search engines. Even when you are linking to your own site, if you use these services, you are linking to them. And they can do whatever they want with that link. They can even decide to place your whole site into a frame, adding ugly ads at the top, or their own “toolbar,” like Digg did, without asking your permission; and there won’t be anything you can do about it.
The best solution to all these problems is to have your own shortener. You don’t need to be an expert developer to do it, you don’t even have to be a developer at all. There are several open source scripts and plugins to accomplish URL shortening. Here’s a short list of services I found:
- YOURLS – It’s probably my favorite and the one that will, very soon, power my own URL shortener. It supports custom keywords URLs, it has basic stats and an API. It also has its own WordPress plugin, which can automatically shorten your posts and links.
- Shorty – This URL shortener had a nice-looking admin interface, where you can edit and delete your URLs. It offers simple stats as well.
- PHPurl – Super simple PHP & MySQL script, it offers the option of choosing a custom keyword.
- phurl – If you are thinking of offering your shortener to the public, this script features CAPTCHA and re-CAPTCHA, just in case you fear bots.
- TightURL – This script offers some public protection as well. It checks submitted and accepted URLs against spam databases to prevent abuse by the Bad People of the Internet.