|
| |
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
display online without .htm or .html extension - 9/18/2003 9:30:11
I've always wondered but thought I'd figure it out someday, but....I need to get a web page to display without the extension of htm or html, just the name of the page (after the web name, of course). I have live pages that I can just type in the name without the ext., but it just happened that way (not intentional). Anyone know how? As always....THANKS!!!!
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: display online without .htm or .html extension - 9/18/2003 14:27:09
Do you mean in the URL Address Line of your browser?
_____________________________
|
|
|
|
Shirley
Posts: 3126 Joined: 1/8/1999 From: Omaha, Ne USA Status: offline
|
RE: display online without .htm or .html extension - 9/18/2003 22:21:24
put it in a folder named whatever it is you want to type in and name the page index.htm
_____________________________
Everything But Cake
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/19/2003 11:30:41
but there has to be a way around that, because I've built many webs and sometimes you can just type www.webname.com/page. But some of the pages you have to type www.webname.com/page.htm or html for the page to come up. Like: http://www.coesolutions.com/news not like http://www.cafesoiree.com/jewelry.html (the page can't be found unless I put the .html and I'm trying to get around having to put .html or .htm on marketing material)
< Message edited by sherimora -- 9/19/2003 11:33:35 AM >
|
|
|
|
Mike54
Posts: 4782 Joined: 3/26/2001 From: Way Up Over Status: offline
|
RE: display online without .htm or .html extension - 9/19/2003 12:19:11
Did you try what Shirley suggested. quote:
put it in a folder named whatever it is you want to type in and name the page index.htm When you type in the path to the folder http://www.hereismysite/andheristhepage/iwantyoutosee/ the index.htm page (or default.htm as the case may be) will open in the browser without actually typing the page name.
_____________________________
Who was the first guy that looked at a cow and said, "I think that I'll drink whatever comes out of those things when I squeeze them"? New photogalleries, stop by sometime.
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 13:52:12
I still don't get it.. http://www.coesolutions.com/tci is just a regular page that I put up for a possilbe new client to view for an idea for thier new site...and other pages on that site (www.coesolutions.com) can be opened without having to type in the extension, but.... www.cafesoiree.com is built and exists the same way but the pages on the site cannot be displayed without the extension....arg!!! Sure the links work, but I want to be able to send materials out without having to put .htm or html on the links. The only difference is the coesolutions.com site is hosted on yahoo and that cafesoiree.com site is hosted elsewhere...is this a server issue?
|
|
|
|
fiachra
Posts: 338 Joined: 5/12/2002 From: Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 14:20:56
quote:
ORIGINAL: sherimora ..is this a server issue? Yes. Servers are set up to look for an index.html file in a directory. If they don't find that, they look for index.htm, index.shtml, index.asp, index.php, index.pl and index.cgi (usually in that order.) Depending on set up many servers will then look for default.html, default.htm, default.shtml, default.asp, default.php, default.pl and default.cgi. The only way of possibly changing this would be to contact your webhost. They might be a little surprised that you want them to misconfigure their server for you. TTFN Fiachra.
< Message edited by fiachra -- 9/21/2003 2:28:00 PM >
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 14:31:53
but if pages can exist on Yahoo without the extension but not on HostSave, does this mean Yahoo is misconfigured...I would think the opposite...sorry to be such a bother, but its one of those things that bug the heck out of me. And, I'm referring to pages other than the index or default (home page)
< Message edited by sherimora -- 9/21/2003 2:34:00 PM >
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 15:40:11
quote:
but if pages can exist on Yahoo without the extension They CANNOT - all files have an extension.
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 15:56:13
re: They CANNOT - all files have an extension. I do know that, but why do some pages display when I only type in the page name and others wont come up unless I type in the page WITH the extension?
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 16:03:23
quote:
It's not that difficult to remember to stick on a file extension and it's essential if you want the browser to be served the page by the server. I But help me with this, I thought .htm and .html were the same, but why won't pages display unless the right one is used? This is my conflict of managing several web sites on several servers with both htm or html pages
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 16:10:17
quote:
why do some pages display when I only type in the page name and others wont come up unless I type in the page WITH the extension? They don't.... OK, try to picture it like this: Any directory that has a index.html (or a default.html if the server is configured to accept that) will display the index page when the directory is accessed. In your example above -> http://www.coesolutions.com/tci is NOT a page - it is a directory with a index.html page in it
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 16:36:19
quote:
in your example above -> http://www.coesolutions.com/tci is NOT a page - it is a directory with a index.html page in it you just blew my mind....so your telling me when I add pages to a site I'm not adding pages but directories? when coesolutionscom needs a new page, I make it, link it and give it a name. Then we type in coesolutions.com/thenewpagename-htm or html is not needed on this site, unlike my others where I have to put the extension to get the page to show in the windows. The TCI page is created the same and on the same level as the other 30 something pages in coesolutions.com. Now I'm REALLY CONFUSED-they are not pages?
< Message edited by sherimora -- 9/21/2003 4:40:45 PM >
|
|
|
|
fiachra
Posts: 338 Joined: 5/12/2002 From: Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 16:41:37
Just to pick up on something that Gil has raised. Windows has given a huge amount of freedom and power to people who didn't have it before. BUT there's a price or downside if you like to that. Which is that in the rush to make everything as easy as pie they had to cut corners. TO make it as easy as possible they deliberately (many would say rightly, let's not get into that argument) encouraged sloppy (in computing terms) habits. This is the root of the problems with for example the sobig virus and many other flukes, flaws, and failings, - people who don't know even the basics can do incredibly sophisticated things - easily. This includes virus writers, people who 15 years ago couldn't even begin to imagine being, in effect, publishers (which is what a web site is after all - a publication,) the small business owner has at theri fingertips financial tools only avialable to the super wealthy before now,...... and and and ..... Nobody could argue that this is a bad thing. Certainly I don't. But there comes a point when you hit a brick wall. Believe me windows "under the hood" is even more yucky and pernickety than unix/linux. That's why a little attention to "housekeeping" is so important. TTFN F
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 16:49:33
As an example see this: http://www.outfront.net/spooky That takes you to a perfectly functioning page, but the page is NOT called spooky, it is called index.htm. The URL is actually http://www.outfront.net/spooky/index.htm quote:
so your telling me when I add pages to a site I'm not adding pages but directories Of course not, a page is a page. But it can be in a directory and the directory can be called anything you like. To get the effect you want all you need to do is place the file you want reached in a directory with the name you want, then rename the file index.html So, suppose the file is currently http://www.example.com/news.htm Just make a new directory called 'news', move the file to it, rename the file 'index.html' Now you can use the url http://www.example.com/news If you do this in FP it will update any existing links on or to the moved page, so that you do not have to worry about that. On a general note. It is a VERY good idea to organise your site into directories, rather than just making pages and having them all in the root directory. Generally speaking I have only 2 html pages in my root directory on any web - the index page and a contact page. After that everything is organised into directories with relevant names. So, say you had a site about vegetables. Your site would have perhaps the following pages and directories when you looked at the folder list in FP Main directory |- asparagus |- broccoli |- carrots |- images |- includes |- peas |- turnips contact.html index.html Now by calling the main file in each of the vegetable folders index.html, all the user will have to do is enter: http://www.myveggiesite.com/carrots And they will see all they need to know about carrots. Setting up your site like this is not just better for dearch engines, it makes it a hell of a lot easier to manage also.
< Message edited by abbeyvet -- 9/21/2003 4:49:59 PM >
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
|
|
sherimora
Posts: 98 From: New Orleans Louisiana USA Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 16:55:30
quote:
quote:
As an example see this: http://www.outfront.net/spooky That takes you to a perfectly functioning page, but the page is NOT called spooky, it is called index.htm. The URL is actually http://www.outfront.net/spooky/index.htm but that TCI page is not like that, it's just www.coesolutions.com/tci(.htm). It's not in a directory. I only have one index page in that entire site and it's the home page.
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: display online without .htm or .html extension - 9/21/2003 17:01:33
quote:
I only have one index page in that entire site and it's the home page. Well make more. I told you how to do so above and it is not a really big deal to make a folder, drag a file to it and change its name. As I have just pointed out in another topic, if, and only if, you have full control of the server you can set it up to do anything you like - including display a file with no extension as though it had one. Though this is not commonly done. However on a shared hosting arrangement, which I assume you are using, this is not possible. But what you want is possible by the simple expedient of making a folder, dragging a file, renaming. 30 seconds tops.
< Message edited by abbeyvet -- 9/21/2003 5:02:09 PM >
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|