# Website folder structure related doubt

**URL:** https://forum.kirupa.com/t/website-folder-structure-related-doubt/325860
**Category:** Uncategorized
**Created:** [November 9, 2011, 1:17am UTC](https://forum.kirupa.com/t/website-folder-structure-related-doubt/325860 "2011-11-09T01:17:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![karthikjayraj](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@karthikjayraj](https://forum.kirupa.com/u/karthikjayraj)
#### Post date: [November 9, 2011, 1:17am UTC](https://forum.kirupa.com/t/website-folder-structure-related-doubt/325860/1 "2011-11-09T01:17:53Z")

</div>

Hello,

I am finally creating a website on my own(based on php and JS and Ajax) . I have pretty much completed the site. And now am just cleaning all the code and making sure all functionality are working right and also making some performance and “look and feel” related changes.

Well now I am in a bit of dilemma. I have written nearly 70-80 pages of php based codes. now that I am trying to restructure(which I should have done while designing-but pardon me) all the codes based on different functionality  
Current I have the following :-

Member functionality - member related codes  
e commerce functionality -related codes  
products - - related codes  
Admin- Related codes

Is it advisable to create separate folders under the parent folder for each functionality like above ?  
or dump all the codes under the root folder and if so then would it not cause delay in page loads? if kept in different folders ?

hope you got my question.

thanks for taking time to read.  
Jay
