Hi, I have website where I upload lots of content but I use only root level directory and never created other folder for example all my pages are www. example. com / abc.php now my root directory has lots of pages. So, my question is will this cause more page load time for my website.
No why would it make your site slower ? As long as there not viewing a list of Index Of, it makes no difference. Happy Holidays
You should use folders to make things look more professional and easily find desired files. Folders won't increase your pages load time.
I suggest if you have a large website, it would be best to consider using directories /folders as a way to organize your website. But if not , as long as your server bandwidth is good and I dont think you will be needing such directories/folders.
1) "Folder" is "MS-speak" for "directory", so don't mix the words. 2) Whether you need subdirectories or not depends on the structure of your site, there's no "one size fits all" solution. Most sites are easier to administer if you use subdirectories than if you don't, but if you don't have a problem with all the files being in one directory, there's no problem. 3) There's a time penalty for using a subdirectory, but it's measured in microseconds, at most, in current computers. You probably can't even measure it.
Apnavarun, when building websites it is good practice to have some sort of structure for different components of your site. It may take a little more time initially but will be well worth it in the long run from an organisational perspective as your site gets larger. I tend to create separate folders for components such as css, images, scripts just to name a few. You can also go a step further by creating sub-folders. For example in the images folder you may have sub-folders called icons and buttons to better organise your images.