URL Shortening Services Compared: Bit.ly Pro and Yourls

URL Shortening services are the lifeblood of Twitter. With short URLs you can share links on Twitter in abundance without having to worry too much about breaking the 140 character limit.

And, just like links are branding opportunities, so are short URLs. Yes, you only have a few characters to work with in a short domain, but why not make optimal use of it and make it a branded short URL?

Some examples of great short URLs that manage to spread the owner’s brand further on twitter are nyti.ms for the New York Times, yoa.st for Yoast (Joost de Valk) and selnd.com for Search Engine Land.

I too have been using custom short URLs for a little while: bada.ms for my own personal tweets and recently I set up prc.ms for my company Pierce Communications.

For bada.ms I used the Yourls.org service, and for prc.ms I opted to use the bit.ly pro URL shortening system. Now that I’ve worked with both I thought it would be a good idea to compare the two and see which type of URL shortening solution is best for which situation.

The Third Party Solution – bit.ly Pro

With a system like bit.ly pro the hard work is done for you. All you need to do is register your short domain, apply for bit.ly pro, and once you’re approved you need to set the A-record of your short domain to a specific IP address that bit.ly provides.

Once all that is completed and verified, you can start using your short domain immediately. There’s one caveat: the free bit.ly pro version is tied to one bit.ly account, which means only those who have the account’s login details can use it.

Bit.ly pro works very well with all third party Twitter apps, and also has a number of handy bookmarklets to integrate it directly in to your browser.

Bit.ly Pro reporting dashboardThe analytics provided by bit.ly pro are quite extensive, with real-time reporting of clicks happening on your short URLs, as well as a long-term report that goes back 30 days. Bit.ly pro gives you aggregate reports showing your total clicks on all shortened URLs, as well as the individual performance of each short URL separately.

The analytics are rounded off with country and referral reports, showing where the clicks came from and what client systems they used.

Bit.ly also offers an Enterprise version of their system, which (among other features) ensures that all URLs on your website that are shortened with bit.ly use your branded short URL. They call it ‘end-to-end branding’ and this is interesting for organisations that publish a lot of content and want to make sure their brand is recognised on Twitter. Companies like the New York Times and The Onion use this solution, as does Search Engine Land. But at $995 a month it’s not for everyone.

The Self-Hosted Solution – Yourls.org

With a self-hosted solution like Yourls you have much more control over exactly how the URL shortener works. But it’s not as straightforward to set up, a bit more technically challenging to use, and has less complete analytics functionality.

To get Yourls.org working you need to set up a hosting account for your short URL which supports PHP and MySQL. After you’ve set up a MySQL database, you can upload and install the Yourls.org package.

Set-up is brief and straightforward with only a few variables to fill in, but you will need to do a bit of digging here and there to get it working exactly how you want it. The basic functionality of Yourls does the job well, but you’ll probably want to customize things a bit. This you can do with plugins, such as the Random Keyword plugin which creates random short URLs for you, and the Don’t Log Bots plugin which filters automatic ‘clicks’ from 3rd party apps in your analytics.

One very handy option in Yourls which could elevate it over Bit.ly pro for some users, is that you have full control over the length of the custom short URL you’re creating. Where bit.ly always attached 6 characters to the domain to create a short URL, with Yourls you can suffice with just one character if you so fancy. This enables you to make your short URLs very short indeed.

The analytics offered by Yourls are slightly less impressive than Bit.ly Pro’s as they lack aggregate reporting. This means you’ll have to look at the performance of each link individually, which makes it hard to discern any global trends in click behaviour, referrals and countries of origin. But other than that Yourls offers similar real-time statistics on your clicks, as well as handy bookmarklets and a secure API that you can use to integrate your shortener in twitter apps like Tweetdeck.

One more added feature of Yourls is that you can make it a public URL shortening service, so that others can also use it – and thus your brand can be spread even further on Twitter.

Short URLs compasion chart


While Bit.ly is a well-rounded solution with plenty of features, it lacks the full measure of control you get with Yourls. Bit.ly Pro’s analytics are slightly better, but in my view it’s only the preferred option if you can pay for the Enterprise version and enable end-to-end branding.

If you can’t afford $995 a month, the choice becomes very straightforward: the vastly greater control you have with a self-hosted solution like Yourls makes it the superior option for a custom short URL service.

So my advice would be to get a short domain, get a hosting account, and install Yourls or a similar package. That way you own it completely, and you can customise your short URL service to your heart’s content.

About Barry Adams

Barry Adams is one of the chief editors of State of Digital and is an award-winning SEO consultant delivering specialised technical SEO services to clients worldwide.

23 thoughts on “URL Shortening Services Compared: Bit.ly Pro and Yourls

  1. well timed article Barry, we have just been looking into URL shortening and had planned to look at the various options over the next few days. The only question that was raised here was about the relative security of each option. I’m guessing it’s probably much of a muchness but I’ve not done much with URL shortening before.

    1. Hey David. I haven’t looked at security, but I imagine a big service like bit.ly is a juicier target for hackers than one self-hosted URL shortener. And with Yourls you have it under full control so you can make it as secure as you want to.

  2. I don’t know if it has been mentioned or discovered, but Yourls does actually allow for end to end branding. I’ve (actually just now) enabled it on my short domain via the htaccess file. I added a 301 redirect from /index.html to my (longer URL) site. Anyone reading this and wishing to do that, REMEMBER the index.html bit, just redirecting from the root “/” redirects even your shortened URLs to your longer URL address, but the lack of index file for Yourls itself allows for end to end branding. The redirects are all handled by the .htaccess file. You can even host Yourls on the same domain as your site, but personally, I’m not to sure as to why I would. That’s just me, though. I can, if you wish, post the code I have in my .htaccess file for your reference.

    Unless I have misunderstood what you mean by end to end branding, in which case, ignore what I said.

    1. Hi Nathan, what we call “end-to-end branding” is when someone tweets a link to your website and uses bit.ly to shorten the URLs, and the shortened link automatically uses the branded short domain. This only works if your URL shortening service is set to bit.ly, and the website in question as signed up for the full package including end-to-end branding.

      1. Aaaaaaaaaaaaaaah … I think I have just caught on …

        You mean, if I register sure.ly, for example, with Bitly and it redirects to surelyyoucantbeserious.com, but when you tweet surelyyoucantbeserious.com using, say, Tweetdeck (which uses Bitly to shorten URLs), it will come up as bit.ly/bHU873n, say. End-to-end branding would mean that anyone who tweets surelyyoucantbeserious.com using Bitly as their URL shortening service would use the sure.ly URL.

        I got a little confused. What I meant was, I have my short URL – sure.ly – which uses Yourls. Typing sure.ly into the address bar would redirect your browser to my full address – surelyyoucantbeserious.com – but sure.ly/shorturl/ would redirect to the URL I told it to, maybe, wtfweretheythinking.com/blog/2011/08/wtf-was-this-guy-thinking-5245346/. That is possible with Yourls, and I have done just that with my htaccess example above. But the other scenario I gave just now … no, you are right, Yourls wouldn’t be able to do that. Shame it costs you $955 per month just to get that.

        I should point out that the URLs I mentioned here don’t, to my knowledge, exist. If they do, it is purely coincidental.

  3. Another great “shortening” service similar to bit.ly is http://smarturl.it . This one has some great features, like geographical redirection based on country, retargeting, passing query string parameters through to the URL (something bit.ly doesn’t do). It’s reporting is great too – it can break down your traffic by different marketing channels, countries, referrers, etc.

  4. Well, bitly is now history. They only do one-to-one shortening.

    Check out Brief.ly (and Briefly.PRO), which allow to “bundle” many URLs into one, then open them in tabs where possible.

  5. What’s Happening i’m new to this, I stumbled upon this I have discovered
    It absolutely helpful and it has helped me out
    loads. I’m hoping to give a contribution & aid different customers like its aided me. Great job.

  6. If it is not attended on time may cause leakage from
    the shower. If you have limited budget, then cost holds a great importance.
    You can make a homemade old-fashioned bootlegger style
    distillery for distilling large batches of water.

Comments are closed.