Guys, thanks for your comments
That's about as basic as it gets. The real question is what is this site for? Is it your personal site, is it for a client, are other developers going to work on it?
If it's your own personal site. Structure it however you want. It only has to make sense to you and as long as you can find what you need it's all good.
If the site is for a client or if other developers are going to work on it. Just make sure it makes sense, and I wouldn't go too deep in the directories. Like two or three deep max.
I get your point. This particular site is mine, it's basically a place where I deal with topics about computers and that kind of stuff, so I'm starting to realize it is very important to maintain things in order from the very beginning as it might be hard for me to deal with a (potential) mess in case the site starts growing fast. My concern is basically in terms of scalability.
For instance, my site has an admin account, so because of that, files such as about.php, contact-us.php, index.php..., as well as my admin files are all in my root directory. That's why I started thinking of a way to organize my files, ideally using standards (if there's any) or just best practices. What I did was create folders for images, css, js, resources (classes, libs, config files, etc), and content (articles). Things look much better now.
On the other hand, these days I've been kind of building my portfolio, I really want to focus on good practices not only for myself but to show possible clients that my work is "professional".
also you have to keep the site's URLs in mind. Like in your example the index.html file in the articles dir will look like this.
That's kind of an ugly URL.
You mean I shouldn't have called it index.html? I totally agree, and actually, that won't be its name. I just meant that that's the index page for my "article1", I do know it's not common and it does look ugly to have an index.html page the way I have it. In the end, that index page will have a proper name, something that matches the content of my article
Is that what you meant?