Tag Archives: url

Url shortening. The Complete Picture.


What is Url shortening?? U just give a BBBBBBBBBBBIIIIIIIIIIIIIIIIIIIIGGGGGGGGGGGGGG url as input and it’ll give you a short url with which you can access ur BIG url.

For example  http://www.chaaps.com/url-shortening…mplete-picture.html  becomes http://bit.ly/aIlWqJ .

So wat does that mean ? Both these urls are just alias !!.

Now a question . Why do this ? cos its easier to share smaller url. Now that you are clear with what it is.

Now i’ll share with you how you can build ur own url shortner site 🙂 oh yeah….All yours

Things you need



3:Googling skills

Steps to create the ultimate site :p

Step 1: Buy a domain name which is very short. Ex: www.ul.in

Step 2 : Get a hosting Service . now a days u get one for 500 bucks a year.

Step 3: create a database.( http://bit.ly/1roQbE )

Step 4: create a table ( http://bit.ly/13aXsN)

with two columns(distinct_guid,long_url)

Step 5: create a index for this table and apply other methods to make access to this table faster.(just google),

Step 6: Create two  php files

Step 7: First a Php to allow someone to shorten url

this php must be able to take in the long url as a parameter

on Taking in looong url

generate a random number  like distinct_guid =   uniqid(rand(99999999999999,99999999999999999));

make an entry in the table you created distinct_guid,long_url

finally the shortened  url will be www.ul.in/”distinct_guid”

Step 8: ok now we have shortened the url next create the real deal php

in the .htaccess file  edit make an entry for this

RewriteEngine on
RewriteRule .* theRealDeal.php

in this theRealDeal.php read the distinct guid with help of this   $_SERVER[‘REQUEST_URI’];

on getting the distinct guid you’ll need to forward to the long url. How do you do that ??

from the table we created get the long url for the associated Distinct guid

then use php header redirect to redirect to the long url

header( ‘Location: “{$long_url}”‘ );

There you go . The simplest way  to create your own url Shortener.

make sure you don have any html content in theRealDeal.php

Note:- it may not be as easy as it sounds.:p If you have any questions.Leave a comment and i’ll help you.


Goo.gl ??? Google URL Shortener.

googleMany of us are familiar with bit ly, tinyurl and all the other popular well know URL shortener’s. The main use of this URL shortener’s are to shorten long urls to something little.

Today Google released a new version of Google Toolbar, and FeedBurner. In both the Google Toolbar, and FeedBurner Google released a new feature ” Goo.gl “. Goo.gl is a URL shortener available free to use, but is only usable to people using Google’s Toolbar, and FeedBurner.

The new Google service main goals is

  1. “ensuring that the service has very good uptime”
  2. “protecting users from malware and phishing pages”
  3. “fast resolution of short URLs”

Basically the based on Stability,Security, and Speed. Sadly as i said early the goo.gl service is limited to people using the Google Toolbar, or using FeedBurner. Google wish is to provide this service to everyone.

The main question here is Google going to overtake bit.ly and tinyurl? Will Google find success in this industry?

How to Add Gadgets in Google Wave?


You Can Add Gadgets in Google Wave by Just Specifying The Gadget URL in XML form..
Here is The Step by Step procedure how you could add a Gadget for Google Wave .



Click on The New Wave Tab and Start a Fresh Wave
new wave


As Soon as you Click on The New Wave Button, you will be able to see a wave box in the 3rd column of your Wave Homepage.

In Order to See The Link Gadget you Need to Expand the Wave Window

Google Wave Shrinked Box

In the enlarged Google Wave Window, Locate The Gadget Icon and Click on it . A Box Pops Up Prompting for an URL Add Gadget by URL



Please Note:
While adding The Gadget URL make sure it is an XML file.
The Example URL which i have used is http://blah.appspot.com/wave/sudoku/sudoku.xml which is a Sudoku Gadget…
Once You Have Added The URL, You Could see The Corresponding Gadget and you u can add all your contacts to use the gadget all at Real Time!


Here is The List of Gadgets Available in Google Wave

If You have Enjoyed This Post , Subscribe Me On Reader


Avoid Dynamic Parameters in URL from Google Indexing – Google Webmaster Tools


Google Webmaster Tools is The Powerful Tool for Managing Your Websites Efficiently. Google Webmasters has Lot of Tools, Which you can Use to Improve The Viewability of Your Website in World Wide Web.


One Such Tool in Google Webmasters which i recently came across is Parameter Handling

Parameter Handling

Before discussing on Google Webmaster’s Parameter handling tool, It is important to Know the Meaning of Parameter Here.

Parameter in Your Website Refers to different extensions in Your Website URL like source, session IDs or language… You Might have Come Across Many Such Extended Parameters along with The Actual URL…

How does a Parameter Look Like?
Here is an Example for Parameter in URL




All These Extra Extensions in The URL is called Dynamic Parameters.

What’s wrong With Dynamic Parameters in My Website URL?
The website URL http://www.yoursite.com/contents?sid=12885923 may point to the same content as http://www.yoursite.com/contents which may result inefficient crawling resulting in Duplicate URLs..

How Can I Prevent Dynamic Parameters from Google Indexing?
Parameter Handling is a New tool introduced by Google Webmaster to avoid Dynamic Parameters from Indexing.
You Can Specify The Parameters Which You donot wish to Get Indexed.
Presently You could specify whether you want Google to ignore up to 15 specific parameters in your Website URL.

Parameter Handling is Located at https://www.google.com/webmasters/tools/settings.

Select Site Configuration in your Webmasters Tool.
And Then Select Settings Tab where The Parameter Handling Tool is Located.

parameter handling1

You Can Add Upto 15 Dynamic Parameters By Clicking on Add Parameters button. Be Wise in Selecting Which Parameter you want Google to Ignore.

This Is How Google Describes the New Webmaster Tool- Parameter Handling

parameter handling2

Did You Enjoy This Post? Was The Above Post Helpful? Then Donot Forget to Subscribe my Posts in Reader..