Setup Your Own TinyURL Like Redirection Service in 2 Minutes

Learn how to setup a TinyURL like URL shorterning service on your website with Google Short Links. Tiny URLs are easy to remember and can be shared on email, IM or Twitter without issues.

url redirection URL shortening services like TinyURL, bit.ly, etc. provide small aliases for long web addresses thus making it easier for you to share complex links through email, IM, Twitter, etc.

The only problem with URL shortening services is that most of them donít have a solid business model yet so if they decide to shut shop in future, all your existing short links will become broken or point to non-existent 404 pages.

To prevent yourself from running into such a situation, you can consider setting up your own URL shortening service that will run on your own domain (or web server) and the short URLs will therefore resolve throughout the lifespan of your site.

Google Short URLs Service for Google Apps

Google provides an excellent URL shortening service but itís only available for sites that use Google Apps for Domains. Other than providing memorable shortcuts to web URLs, Google Short Links service also offers standard analytics so you can know the usage level (or click-throughs) of individual URLs.

Hereís are some sample URLs that internally use the Google URL shortening service:

To get started, add the Google Short Links service to your Google Apps domain. By default your redirection service will be available at links.example.com but you are free to choose any other sub-domain for this purpose. From the dashboard, open your Short Links settings and add a new URL (I picked go.labnol.org) and then deleted the default links sub-domain.

cname settings Next open your web domains cpanel and create a new CNAME record for the same sub-domain that should point to ghs.google.com as in the following screenshot.

Wait for a couple of minutes for the DNS changes to propagate across the Internet and your TinyURL clone is ready to serve. Hereís the default web interface where you can create short URLs using your Google Apps account.

Screenshot: Create your own short URLs

google short urls interface

You can either create custom aliases or let the Google App itself choose a short URL for your web address but unlike the TinyURL service that does a 301 redirect, Google Short URLs do a 302 temporary redirect so the link juice, PageRank, etc. arenít transferred to the original URL.

Tiny URLs created with Google Short Links offer another advantage - you can edit the underlying web page address so the short URLs will stay valid even if the underlying page has moved to a new location.

Screenshot: See usage count of short URLs

manage short urls

Run your own URL Shortening Service

Google Short Links are a perfect match for people who need a TinyURL like redirection service without involving any technical details. You donít need any web server space and there are no MySQL databases or PHP scripts involved but the only downside it that your site must be running on Google Apps.

If you need to set up redirection on a site that doesnít use Google Apps, try Shorty - itís a free MySQL + PHP scripts that you may either set on sub-domain or a sub-directory under your main website.

With Shorty, you get a simple web interface to create as well as manage all your existing short URLs. Just upload all the installation files to your Apache server and run _install.php from the web browser. It also provides stats for individual short URLs.



Related VoIP Call Center Articles

Succesful Employee Engagement Strategies


Ask any worker around the world what makes them happy in their job and they always say the same things. While the relative importance and order varies, the key issues are always...

Read more about Succesful Employee Engagement Strategies...

Creativity for Left-Brained People


As a systems-thinking, ridiculously rational INTP, I canít tell you how many times Iíve been told to, ďStop overthinking!Ē After all, rational thinking isnít naturally associated with creativity. I admittedly find it difficult to act on creative...

Read more about Creativity for Left-Brained People...

Search Content


Featured Content

Content Categories


WhitePapers


Sales Force Automation Comparison Guide

Businesses of all sizes can benefit by automating all aspects of their sales processes with an SFA (Sales Force Automation) solution. But due to the sheer number of features that most SFA solutions...Read More


Which CMS Is Right For Me?

If you're wondering which CMS is the right one for your organization, this comprehensive guide will take you through the various options available, detailing the pros and cons of each. Download...Read More


How to Buy a Phone System

Considering a new phone system for your business? The Phone System Buyer's Guide from VoIP-News provides you with all of the information you need to make a more informed decision. The Guide helps you...Read More


Oracle Magazine

Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest...Read More




View All Whitepapers