How do u index/structure pages on a site?


Ok, now I know how to code pages; but I am just sure there is some logical and best way to name and store the pages on a web site.  I'm sure it's quite simple -- something like create a directory for each kind of (but WHAT kind of) thing...  Please can you help -- where can I learn about how to best store pages and parts thereof for a site that could become quite large?

Thanks so very much!!!
Who is Participating?
jelloConnect With a Mentor Commented:
This is all sujective, but here's what I do.

1)I make sure all file names are something logical that could be figured pout by my replacement.  (i.e. for a stevie wonder page - bio.html, collaborations.html, stevie.jpg)

2)if they're sequential, then number them in order (bio1.html, bio2.html.)

3)I create a subdirectory for all images called images. (<IMG SRC="images/pic.gif">)

4)I make subdirectories for sections that are likely to get bigger over time, or that hold a lot of related information (,

5)I keep ALL file titles lowercase.  This doesn't matter for NT servers, but it does matter for Unix.  The exception could be java class files. (StevieWonderGame.class)

WondagrilAuthor Commented:
Thanks, Jello.  I appreciate your response.  I had already established directories in which things "in common" are stored -- such as all gifs/jpgs in one, all forms in another, etc.  I'd just thought there was some kind of "magic" or a certain way one was best advised to do things.  Appreciate the tip about Unix; though not on a Unix server, I will remember that for the future.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.