Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What happens when I type and click go in the browser. How does the URL change to Please explain this to me.

share|improve this question

migrated from Apr 19 '10 at 10:57

This question came from our site for professional and enthusiast programmers.

This is an implementation detail; any browser is free to implement it differently, or not to implement this feature at all. – Charles Duffy Apr 19 '10 at 10:50
Have you ever tried typing '' only? Or even ''? Yes the misspelling is intentional. – Rosdi Apr 19 '10 at 10:55
The "automatic" conversion from or even to is a different thing. The "http://" protocal part of the URI is added by the browser (as explained many times by other users). On the other hand, the server converts or to to generate a consistent address. – Martin Apr 19 '10 at 11:15
also you can try to only type 'google' and nothing else. In Firefox this will work. :-) – Diskilla Apr 19 '10 at 11:37

http:// is the standard transport protocol for web sites. Your browser uses that protocol as the default, allowing "shorthand" notation of for convenience.

There are other protocols like ftp://, svn:// .... that you have to type in full.

share|improve this answer

That's simply a convenience feature in the browser based on the assumption that due to the overwhelming popularity of HTTP, any URL that does not have a protocol part is intended to be a HTTP URL.

share|improve this answer

The browser simply assumes the protocol you want to use is http

Browsers support more than just http .. there's https, ftp, among others.

If you do not supply a protocol manually, it just defaults to http

share|improve this answer

i think it's as simple as most browsers defaulting to HTTP when no protocol is specified.

share|improve this answer

If no protocol is defined, the browser automatically assumes the http protocol. This may not always be the right choice though.

Lets say you have a site that needs to be accessed via the rtsp protocol at rtsp://

If you just type "" into your browser, then your browser will still go to ""

share|improve this answer

The browser automatically adds http:// if no protocol specified by user

share|improve this answer

You must log in to answer this question.