website folder layout
<p>I'm not going to ask <em>what is the best way to ...?</em> since they might be several ways to do it, I just want to know from your experience how to manage folders and files when starting to build a website ? (note: I'm not english native that is why I request here, I can't find right places to be answered).</p>

<p>I've been coding for years but always on my own and I never share about how people structure their website before.</p>

<p>As an information, I'm making a structure file at the root of my website, <em>struct.php</em> that contains the common layouts shared by the many pages in my website.</p>

<p>If the user types <em>http://mywebsite.com/folder/</em> it requests the index file of the requested folder which just contains the 'struct' file importation, for the other variable parts like the metadatas of webpages, I'm creating a folder named <em>meta</em> which contains a file for any type of data (.title, .description, .keywords) and of course the struct file is fetching the content of these informative file and display them in their appropriate place in the document.</p>

<p>I feel comfortable with that structure cause it's been a long time using it. But I'd really appreciate it if you were giving some advices or some useful links and/or tell me how you manage your own website.</p>
