I was wondering how google uses a certain file type (without the extension) and successfully displays the webpage?.
For example: http://www.google.com/webhp
there is no file extension used in the URL (such as webhp.php, webhp.html, etc.)
there is no directory used as well (I tested http://www.google.com/webhp/
and the 404 page displayed instead of the Google homepage).
I was wondering on how this is done? especially
I would like to use this for all of my pages if I could (for example: the index page, the login page, etc.).
At the moment I'm a new programmer experimenting with new things and I took a deep interest into having no file extensions on the pages.
If you would like to see my failing experiment, the URL is here
. Unfortunately, the page content is represented as text, not HTML.
Thanks for taking the time to read!