Build Your Own URL Shortener

By Matthew Magain

ClampURL shorteners are all the rage—,,, … even Digg are getting in on the action. But wouldn’t it be cool to write your own?

It turns out that doing so is not so hard. We’ve just published Kay Smoljak’s latest article Get Shorty: Trim the Fat with ColdFusion, which takes you step-by-step through the creation of a simple URL-shortening web app in ColdFusion 9. It also comes with a handy little quiz, sponsored by Adobe, to test your understanding of the tutorial.

Now hold your horses folks—we know ColdFusion isn’t for everyone. If ColdFusion isn’t your bag, or you reckon you can write this app in half the time in your favourite development platform, then that’s fantastic. But if you’re interested in reading about how to do it in a super elegant way using the ColdFusion Builder tool, then this is definitely the article for you. You might be surprised.

Check it out.

  • i built one called with php/mysql a few months back. one of the features is using your twitter handle in the subdomain (eg haven’t done much with it since building it because i’ve been busy, so there are a few known bugs i still have to take care of. it works great for the most part though :-)

  • I remember this
  • @I remember this: I’m not sure which it is that I’m more confused by — what it is you have against the concept of a URL shortener, or why you’re letting us know in an image.

  • Sean O

    It’s easy to build your own URL shortener. I recently posted an article on how to create one for your site / brand, using PHP & MySQL, in under 50 lines of code:

Get the latest in Front-end, once a week, for free.