homepage Welcome to WebmasterWorld Guest from 54.161.202.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Importance of sub directories
tomhumf




msg:3826041
 11:27 am on Jan 14, 2009 (gmt 0)

Hi,

I'm working on a new site which only has about 20 pages at the moment. Currently all the pages are in the root directory, but are assigned to a category in the database. I am using query strings to display the pages.

My menu seperates the pages into categories, so from the users point of with I think navigation will be ok.

My question is, what reasons are there to put pages in sub directories, apart from it being more organised? Does it help with SEO much?

Thanks
Tom

 

BeeDeeDubbleU




msg:3826047
 11:44 am on Jan 14, 2009 (gmt 0)

For a site like you describe I doubt that there would be anything to be gained from using sub directories other than using the names of the directories for keywords?

tomhumf




msg:3826079
 12:43 pm on Jan 14, 2009 (gmt 0)

O.k thanks, how about if the site got to be hundreds or thousands of pages? I plan to add lots more content. One reason I have used subdirectories is that categories may change while in the early stages.

topr8




msg:3826116
 1:39 pm on Jan 14, 2009 (gmt 0)

one common way of structure is indeed:

domain/category/subcategory/item

it helps in that it gets your category names into the uri, which helps visitors and google alike.

one problem with this is of course when an item is in more than one category, or subcategory.

my own view is that for growth then using subdirectory folders makes things easier to manage in the future ....

although remmeber, especially if you are on linux, that very often these folders, don't actually exist they are rewritten using .htaccess
so that the page:
domain/widgets/green/furry
actually is actual resolved to:
domain/page.php?cat=widgets&subcat=green&item=furry

tomhumf




msg:3826128
 2:11 pm on Jan 14, 2009 (gmt 0)

Thanks for that topr8.

I will probably start using sub directories when the site grows a bit and I can see the structure a bit better. I am not able to use .htaccess on this site which is one reason I haven't used sub directories.

piatkow




msg:3826940
 11:01 am on Jan 15, 2009 (gmt 0)

Once, in my ignorance, I bought a domain name from a company that used frames for forwarding. To be able to publish addresses for deep links I ended up with a sub directory for every topic (between 1 and 3 pages each).

Idon't know what it did for SEO but I found that it made management a lot easier. Now that the domain is set up properly I have stuck with this structure for additional topics.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved