Default File Name of a URL
What Happens If File Name is Missing in a URL?
If the file name part is missing in a URL, the one of the following two rules will be used.
1. If a URL has no file name, but a path name is given, the browser will let the hosting computer to supply the default file name. On most hosting computers, the default file name will be index.html. For example, the following URLs:
will be treated as:
2. If a URL has no file name, no path name, but a bookmark or a querystring is given, the browser will borrow the path name and the file name from the current document. For example, if the following URLs are used in this document:
will be converted by the browser as:
2017-07-07, 742👍, 0💬
How To Support Multiple-Page Forms in PHP? If you have a long form with a lots of fields, you may wa...
Where to find tutorials on how to use PHP built-in functions to manage arrays? A collection of tutor...
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user e...
How to view API details on the Publisher Portal of an Azure API Management Service 2017 version? You...
What is EPUB 2.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 2.0 Metadata "dc:publisher" ...