Question About Folders

Discussion in 'HTML & Website Design' started by jdeeze, Jul 13, 2007.

  1. #1
    I am changing the structure of my website and putting most of my pages into sub folders. My question is this, do I need an index.html file for each folder ? I want my page to look like this http://www.sandisk.com/Products/ how can I achieve this? what is the reference page
     
    jdeeze, Jul 13, 2007 IP
  2. wendallb

    wendallb Active Member

    Messages:
    180
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    78
    #2
    I would say yes. If you put files in a folder and no index file if someone happens to type in that address they will see an index of your files and your files could be stolen at that point.

    Just my opinion.
     
    wendallb, Jul 13, 2007 IP
  3. jdeeze

    jdeeze Peon

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    jdeeze, Jul 13, 2007 IP
  4. wendallb

    wendallb Active Member

    Messages:
    180
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    78
    #4
    You can use either one as the browser will automatically seek out an index.html or index.php file when is goes to yourdomain.com/products/. But if you have a directory without a index file it will show all your files and you can get them stolen that way.

    I hope this helps,
     
    wendallb, Jul 13, 2007 IP