Why do certain urls not have the .htm extension?
why do certain urls not have the .htm extension?
for example this url has no .htm / .html extenion :
http://en.wikipedia.org/wiki/Binary_file
and this one does:
http://www.geocities.com/html_4u/index.h...
also how can i make it so that the web pages i make do NOT have the .htm / .html extension?
any help would be appreciated.
Why do certain urls not have the .htm extension?When you see a file extension (.htm, .html, .php, .asp, etc.), those URLs are referencing actual files on the web server. The extension tells the server how to process the file. For example, a .asp file will get run through an ASP (Active Server Pages) interpreter to process the VBScript code (which is the scripting language for ASP) before it sends back the HTML.
The reason why you don't see the file extension on some URLs is that web sites are usually configured to display certain files by default if one is not specified, using a list called an "Order of Precedence." When a browser makes an HTTP request to site and the file is not specified in the URL, the server will scan down the list until it finds a file from the list. It will then return that file after doing any server side processing. For example, my web host will display a file called index.asp if a visitor does not specify a file in the address. So typing http://ron-and-iris.geefamily.net gives you the same results as typing http://ron-and-iris.geefamily.net/index....
More Related Questions and Answers ...
The information post by website user , we not guarantee correctness.
