how do I make a webpage without a htm or html extension?

T

Thomas A. Rowe

All pages have to have an extension. What you have indicated below is a folder. In that folder is a
default document (a default document is file with the same file name as the required by your web
host for site's home page).

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Tom Pepper Willett

the "frontpage" is a folder, not a page.
You would create a folder, then place a default page in it, such as
index.htm, default.htm, or whatever your host requires.
Then, when you go to www.mysite.com/foldername the default page would
automatically open.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| FrontPage will not let me save a web page unless it is in a format like
htm
| or html. Yet there are pages like www.microsoft.com/frontpage that work
| without the .htm extension. How do I do this?
 
J

Jack Brewster

Those are actually directories that are loading the default webpage.

All web servers have the ability to define a default page. Common examples
are:
index.htm
index.html
default.htm
default.html
home.htm
home.html

The list of files varies from server to server, this is not an exhaustive
list.

The purpose of the default document is that whenever you enter a URL that
points to a directory, such as in your example, without specifying a
document (or filename), the web server will basically look in the directory
for any file that matches it's list of defaults. If it finds one, it
automatically sends that to the requesting browser.

The list of default documents also determines the order that the server
looks for filenames. Basically, it starts at the top and goes sequentially
through the list, serving up the first match it finds. Using the list from
above, if you had a directory that had both "index.htm" and "default.htm",
index.htm would always be served automatically since it's first in the list.
Normally, to avoid confusion, it's recommended that you only have one
default file in any directory.

This default document system allows a visitor to enter a URL such as
www.example.com and get a webpage, without having to type in specific page
names, or know what the default filename is on any web server. This same
functionality extends to subdirectories within a site.

If you have subdirectories such as:
www.example.com/about/
www.example.com/contact/
www.example.com/products/

and you put a default document in those directories, visitors only need to
know the "shorter, friendlier" name as shown above.

So the short answer is, find out what the default file name is on your web
server, and be sure to add a file to each directory that uses this name.
You could even have directories with a single default file in them if you
want, though that puts a ton of directories in your site and could make
managing your site a little more difficult. But it is an option and I'm
certain there are many sites out there that do exactly this so all their
pages have "extensionless" pages.
 
C

CyberCafe

Andrewkewlkid said:
FrontPage will not let me save a web page unless it is in a format like htm
or html. Yet there are pages like www.microsoft.com/frontpage that work
without the .htm extension. How do I do this?

In case your mind works like mine, here's another way to put it. In
that www.microsoft.com/frontpage page IS a page named index.html (I'm
just using index.html as an example, but it could be some other default
page name). You just can't see the full name of that particular page
(index.html).

Now I've seen web pages where the entire file name (such as
www.microsoft.com/frontpage/index.html)does show up in the browser.
Don't ask me why though. I suspect how much of the page name, whether
the 'index.html' extension shows up, is more a hosting issue.

Barb
 
T

Tom Pepper Willett

No, "frontpage" is a folder. There is a default page within it. Read the
replies to this post.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| Andrewkewlkid wrote:
| > FrontPage will not let me save a web page unless it is in a format like
htm
| > or html. Yet there are pages like www.microsoft.com/frontpage that work
| > without the .htm extension. How do I do this?
|
| In case your mind works like mine, here's another way to put it. In
| that www.microsoft.com/frontpage page IS a page named index.html (I'm
| just using index.html as an example, but it could be some other default
| page name). You just can't see the full name of that particular page
| (index.html).
|
| Now I've seen web pages where the entire file name (such as
| www.microsoft.com/frontpage/index.html)does show up in the browser.
| Don't ask me why though. I suspect how much of the page name, whether
| the 'index.html' extension shows up, is more a hosting issue.
|
| Barb
 
A

Andrew Murray

The "frontpage" in www.microsoft.com/frontpage is a folder called
"frontpage" not an actual html file. Inside the folder there is probably a
file (html file or asp page, php page etc) called "default.asp",
"index.html" etc.

You have to create html pages/script files etc with extensions such as htm
or html or shtml or asp, php, aspx etc - as with any file of any
description.
 
T

Theresa Bennett

The directory will display whatever default page is set on the server. In
this link to the directory 'frontpage', the default page re-directs to an
..aspx page (.net) file extension.

HTH
--
Theresa Bennett
http://www.webworksite.com
Graphics/Flash/Templates/Galleries

===================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top