Find the answer to your Linux question:
Results 1 to 7 of 7
hi all how to short the url.... it is general query.. for example: Google have to short in the form of munna is there any possible way please help me ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247

    how to short url(link)

    hi all

    how to short the url....
    it is general query..

    for example:
    Google
    have to short in the form of
    munna

    is there any possible way

    please help me

    thank you in advance
    "Relationships are built on trust and communication"

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    I'm not sure what you mean... Are you referring specifically to the forum?
    Code:
    {url=http://www.google.com}munna{/url}
    (replace all '{'s with '['s and all '}'s with ']'s)
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247
    Quote Originally Posted by Cabhan View Post
    I'm not sure what you mean... Are you referring specifically to the forum?
    Code:
    {url=http://www.google.com}munna{/url}
    (replace all '{'s with '['s and all '}'s with ']'s)
    no..
    i would like to use this link outside the forum..

    please help me


    thank you in advance
    "Relationships are built on trust and communication"

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    In what context? A desktop shortcut? HTML link?

  5. #5
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247
    Quote Originally Posted by bigtomrodney View Post
    In what context? A desktop shortcut? HTML link?
    yeah just like this...
    actually this i would like to use in orkut to avoid refer code...

    i searched for this in google...
    there is an website called notlong.com
    there if we give munna instead of Google

    it may generate short link like
    http://munna.notlong.com

    but i dont need this..
    i just wanna munna instead of http://munna.notlong.com

    simply am asking about website like that..

    please help me

    thank you inadvamce
    "Relationships are built on trust and communication"

  6. #6
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    I am understanding your question as this: you want to be able to type "munna" into your Firefox's URL bar and have it take you to Google.

    Well, this is impossible. I mean, you can probably do it locally (that is, to only your computer's web browser), by using some sort of redirection add-on, but you cannot make "munna" redirect to Google everywhere. This is because of the way that the Internet works.

    When you access a URL, you are essentially accessing some sort of server somewhere. For instance, "http://www.google.com" means "Use the HTTP protocol to access www.google.com". "www.google.com" is simply an alias for some server's IP address. Basically, after resolving where exactly the server is, a request is made to the server. The server's response consists of one or two parts. The first part is the header. The header contains some sort of information. For instance, if the page doesn't exist, the ever popular '404' error code is returned. Or maybe the page redirects somewhere else, in which case, a redirect header is returned. If the page does exist, then the body of the HTTP response contains the HTML for the program to interpret.

    So the way that notlong.com probably works is that "http://munna.notlong.com" returns a redirect header to "http://www.google.com".

    There is no way to make "munna" mean anything on the Internet. You could register the domain name "www.munna.com" and do whatever you wanted with it (even, if you really wanted, just have it redirect somewhere else), but not "munna".
    DISTRO=Arch
    Registered Linux User #388732

  7. #7
    Just Joined! djap's Avatar
    Join Date
    Jul 2005
    Location
    Not so sure anymore...
    Posts
    97
    You could add line
    Code:
    64.233.183.104          munna
    to your /etc/hosts file and then typing "munna" to your firefox's or any browser's address bar would take you to google. BUT it would work only locally.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •