January 24, 2020

Basic Directory/Folder Structure For Website

Directory or Folder structure plays very important role in security and maintenance of website. Learn how to organize your website directory/folder Structure. Directory structure will vary depending on the function, website size, organizational standard and used programming languages. 

MyWebsite – website main directory.
  1. css – This folder will contain all the css file.
  2. fonts – This folder will contain fonts file used in website.
  3. images – This folder will contain images used in website. we can create subfolders for every pages.
  4. include – This folder will contain all the file which will be included in all pages such as header, footer, sidebar or nav bar.
  5. js – This folder will contain all the javascript file.
  6. scss – This folder will contain all css preprocessor file.
  7. thirdparty – This folder will contain all the third party plugins or resources.For ex- jquery and bootstrap.
  8. uploads – This folder will contain all the dynamic uploaded images.

Leave a Reply