Structure for small websitesįor small websites it's better to keep the directory structure simple. So what you can do in such case, is to start grouping the files in some way and place them in different directories to make your site a little easier to manage and update. But if you have to handle 20 pages and 200 images, that organization model can turn into a serious problem and give you a hard time trying to find the documents among so many images. Having said this, it's important that you don't make links in your documents to resources outside the website folder, as these are prone to be moved, specially if you consider the idea to make your website public.Ībout designing the internal structure of your folder, you should consider that putting all the files in the main directory (also called "root") may be fine for a small site (let's say, 5 pages and 3 images). Then, every file of a website will fall somewhere inside its corresponding folder, despite the internal structure you desing for them. It can be definitely good to create a folder in your computer for each project you start. In this tutorial we'll analize a few models that can help you organize the files of your website and make updating it a pleasant job. Besides personal preference, the ways a website can be organized depends heavily on its type and scope.