Which way is better?

They have: 173 posts

Joined: Feb 2005

Okay so not sure if this is the right place but I don't see where is more suitable...

I have, for example, some of these sections...
Services - web design, programming, logo design, etc. etc..
Portfolio - web design, programming, logo design, etc. etc..

I may also have other pages - for example, a page with a form to get a quote for web design, and a different one for programming...

which organizational manner makes more sense?

ROOT
    /services/webdesign/
    /services/webdesign/quote.php
    /services.webdesign/portfolio.php
    /services/programming/
    /services/programming/quote.php
    /services/programming/portfolio.php


    OR

ROOT
    /services/webdesign.php
    /services/webdesign_quote.php
    /services/programming.php
    /services/programming_quote.php
    /portfolio/webdesign.php
    /portfolio/programming.php
'

Or some other organization structure?

Because, also... as an example, with my PHP products I don't really want to have /products//index.php

and am probably just going to use /prodname/index.php ... so it isn't in a /product/ folder... input?

A bunch of jabber but hopefully people follow and can give their 2 cents Smiling

SonicMailer Pro - Professional mailing list manager & award-winning email marketing software
Download a FREE 30-day trial today!
Use coupon savemoreon4 and save 10%!

Busy's picture

He has: 6,151 posts

Joined: May 2001

I find using the second one easier for sharing files (and moving things around). you can use ../ or ./../ etc but if you move a file/folder then you have to edit it all.
Downside is your folder can get real big and some hosts set a max display limit on ftp programs.

Really there isn't much difference, the folder names may be better for search engines over underscores (only just).
If you don't want to share files, not worried about separate folder uploads - flip a coin.

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

For me it would also be the second one. Really just a personal preference, though. I like my folder structure to match what I think of as the flow of my site. It looks like the flow you're thinking of would match up best with the second one.

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.