stupid question

They have: 18 posts

Joined: Jun 2003

I'm making a web site on my harddrive prior to uploading to a host (I haven't decided on one yet. Bare with me, I'll try to make my question clear.
I'm "structuring" it as follows: under "my Documents" I have a folder for each subject, ie., books/music, art, sports, etc.
In each folder the main html document is named index, the other documents are named graphics, etc. for that folder.
In other words:
My Documents
Folders: art
html documents: index.html
html doc's: graphics
etc.,
etc.,

My question is: Am I screwing up? Is this going to be ok when I upload it to my hosting provider? Also, my home page is named index but is also in a folder, is that a problem? Confused
Hope I didn't confuse anyone.
Thanks for any help.

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

It is fine to have an index.html for each folder.

For example:

yoursite.com/index.html
yoursite.com/books/index.html
yoursite.com/books/bestsellers/index.html
yoursite.com/arts/index.html

And then you have your images folder:
yoursite.com/images/

Hope that helped. Smiling

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

When you upload the site your main index page must be in the root folder on the server and not within a subfolder

taff's picture

They have: 956 posts

Joined: Jun 2001

Another important consideration, if you're new at this, is to make sure that all the links between your files are all relative to each other, not absolute from the root of your hard drive.

.....

They have: 10 posts

Joined: Jul 2003

taff makes a good point... an easy way to do that is to load ur links from a JS file

also make sure ur host lets u use files and such, shouldn't be a problem but some free servers can be a b|tch that way.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.