View Full Version : .html


Fool of a Took
11-28-2003, 02:00 AM
Is there a way to save something without having to add .html, .txt, etc, to the end?

I'd like to be able to have a site at www.mydomain.net/site

But I don't want it to be www.mydomain.net/site.html

I don't want to have to type in .html in order for the site to show up. If you don't type the .html after site, you get an error page.

Is there a way to make this work?

Rosey
11-28-2003, 02:16 AM
Usually if you type:

http://www.mydomain.com

It will go to http://www.mydomain.com/index.html

If you want to have http://www.mydomain.com/site

site NOT being the index, you would have to create a folder called site and then put everything you need in there. You would need to put an index.html file in that folder so that when people type:

http://www.mydomain.com/site

you'd actually go to http://www.mydomain.com/site/index.html


Make sense?

Fool of a Took
11-28-2003, 02:20 AM
Lmao, thank you. I should've thought of that. :rolleyes:

Fool of a Took
11-28-2003, 02:31 AM
Oooh.. but!

I can't have a bunch of different things saved as index.html, only one. So, I can't have various sites with different index pages. How does this work.

Rosey
11-28-2003, 03:23 AM
As long as you put them in different folders, you can have more than 1 index.html