Site Structure-- size of directories

They have: 33 posts

Joined: Aug 2007

Hello Guys,

I have a huge site, and the problem is a few directories in the site have as many as hundred thousand files linked directly under it. I am very confused. Is this standard? Or should I have lower number of files in each directory? Is there an advisable organization pattern when it comes to number of pages I include under each node?

I hope this makes sense. Thanks. Sam.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

If you have that many pages then it's not normal to have them all as individual HTML pages, no. You should be using some form of a content management system that would make it much easier to manage all those pages.

Otherwise, it if makes sense for those pages to be in the same directory, then that might not be a big problem. As long as it's still easy for you to manage. I did read something just yesterday about how flat directory structures (fewer levels of hierarchy) are better for SEO (see question 10 in that link).

They have: 33 posts

Joined: Aug 2007

thanks a ton... that was helpful... Smiling

webfriend's picture

He has: 5 posts

Joined: Aug 2007

I had a guy that had a database driven website. Lost the webmaster, continued to make files in html and had 500 pages. So he could run the site I took everything to html/php includes. Put everything in directories(folders)and then had to rebuild the page links ../../happy.html. I hope your not that far into this type of mess but if you are, Good Luck.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.