files/folders structures

They have: 18 posts

Joined: Jun 2003

First, thanks for all of the replies to my previous posts-they helped alot.

I am going to build my site of app 260 files (each having a different subject) and I put all of these files into 1 folder (I don't know if you can structure it differently).

I think that anyone going to my site would automatically download the entire site if it is all in 1 folder. :eek:

MY QUESTION IS: Is there a way to structure or design a site so that it does NOT dowload everything:confused:
Thanks for any advice.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

1. no one downloads every page on a site, no matter how many folders they are in
2. you may find it easier to maintain your site if the pages are in different folders:

index.html
    IMAGE FOLDER
    image.gif
    image.gif
    image.jpg
    SUBJECT FOLDER
    index.html
    page.html
    page2.html
    page3.html
    page4.html
    SUBJECT2 FOLDER
    index.html
    page.html
    page2.html
    page3.html
    page4.html
'

260 files, eh? Consider using a database or templates with that content?

Busy's picture

He has: 6,151 posts

Joined: May 2001

depending on your hosts setup, people can look/take from a folder without a index page, so for example you use the above structure (posted by Suzanne) but don't have a index.htm/l file in there you may see all the files (check first) if you can see all files, check with your host on what options they have or just put an empty index.htm/l file in there, so people will see that instead of the files.
make sure if your able to use .htacess files that you use one to block the download bots or they will suck everything from your site, using a database would stop most or even bit of both.

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.