I have a new site that I am working on.
What I am trying to do is seperate out the main page and seperate page.
I have a page called "Sage" in the web site and I would like to have people
be able to type in "
www.mysite.sage" to get to this page. The way it turning
out now they would have to type"
www.mysite.sage.htm"
Any way to get rid of the .htm?
Thanks!
Not exactly.
First, it would have to be
www.mysite.com/sage NOT
www.mysite.com.sage
NOTE the SLASH in place of the DOT. I assume that was a typo on your part.
To get that to work, create a folder in your site called sage, and move
your page to that folder, then rename the page as index.htm (assuming
that's the default on your system) - it also could possibly be
default.htm , default.html , or index.html you'll have to check with
your ISP for the proper name.
When someone types an address like http:/
www.mysite.com/sage, the
browser looks for and displays the default file in that folder - i.e.
http:/
www.mysite.com/sage/index.htm, http:/
www.mysite.com/sage/index.html,
http:/
www.mysite.com/sage/default.htm, or
http:/
www.mysite.com/sage/default.html
If none of the default files are present, the browser will either give a
404 error (file not found), display an "Access Denied -- Directory
Browsing Not Allowed" message, or display a directory of the files in
that folder if directory browsing is enabled.
Note that in no case can you just display a file named
http:/
www.mysite.com/sage.htm by just typing in http:/
www.mysite.com/sage