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
...
- 08-27-2007 #1Linux 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"
- 08-27-2007 #2
I'm not sure what you mean... Are you referring specifically to the forum?
(replace all '{'s with '['s and all '}'s with ']'s)Code:{url=http://www.google.com}munna{/url}DISTRO=Arch
Registered Linux User #388732
- 08-27-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
- 08-27-2007 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
In what context? A desktop shortcut? HTML link?
- 08-27-2007 #5Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
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"
- 08-27-2007 #6
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
- 08-29-2007 #7
You could add line
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.Code:64.233.183.104 munna


Reply With Quote

