should i create folders or directories for my website

Discussion in 'HTML & Website Design' started by apnavarun, Dec 27, 2012.

  1. #1
    Hi, I have website where I upload lots of content but I use only root level directory and never created other folder

    for example all my pages are

    www. example. com / abc.php

    now my root directory has lots of pages.

    So, my question is will this cause more page load time for my website.
     
    apnavarun, Dec 27, 2012 IP
  2. HostUS - Alexander

    HostUS - Alexander Greenhorn

    Messages:
    53
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    23
    #2
    No why would it make your site slower ? As long as there not viewing a list of Index Of, it makes no difference.

    Happy Holidays
     
    HostUS - Alexander, Dec 27, 2012 IP
  3. FutaramaMama

    FutaramaMama Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use directories and organize yourself. it shouldn't affect the speed.
     
    FutaramaMama, Dec 28, 2012 IP
  4. Hefaistos

    Hefaistos Active Member

    Messages:
    194
    Likes Received:
    14
    Best Answers:
    9
    Trophy Points:
    63
    Digital Goods:
    1
    #4
    You should use folders to make things look more professional and easily find desired files.
    Folders won't increase your pages load time.
     
    Hefaistos, Dec 28, 2012 IP
  5. cybermichail

    cybermichail Greenhorn

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    only folders.. there are no matter regarding speed..
     
    cybermichail, Dec 29, 2012 IP
  6. THE habit

    THE habit Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #6
    I suggest if you have a large website, it would be best to consider using directories /folders as a way to organize your website. But if not , as long as your server bandwidth is good and I dont think you will be needing such directories/folders.
     
    THE habit, Dec 29, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    1) "Folder" is "MS-speak" for "directory", so don't mix the words.

    2) Whether you need subdirectories or not depends on the structure of your site, there's no "one size fits all" solution. Most sites are easier to administer if you use subdirectories than if you don't, but if you don't have a problem with all the files being in one directory, there's no problem.

    3) There's a time penalty for using a subdirectory, but it's measured in microseconds, at most, in current computers. You probably can't even measure it.
     
    Rukbat, Dec 31, 2012 IP
  8. creativewebmaster

    creativewebmaster Active Member

    Messages:
    654
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    78
    #8
    If, you do not have large pages website so, do not create the folders and directory.
     
    creativewebmaster, Jan 1, 2013 IP
  9. WillisOz

    WillisOz Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    Apnavarun, when building websites it is good practice to have some sort of structure for different components of your site. It may take a little more time initially but will be well worth it in the long run from an organisational perspective as your site gets larger. I tend to create separate folders for components such as css, images, scripts just to name a few. You can also go a step further by creating sub-folders. For example in the images folder you may have sub-folders called icons and buttons to better organise your images.
     
    WillisOz, Jan 1, 2013 IP