Forum Moderators: mack

Message Too Old, No Replies

Simple content management

building code into file name

         

gstick

2:18 pm on Apr 4, 2007 (gmt 0)

10+ Year Member



I have begun building a site which I expect to grow to well over 100 pages.

To keep track of site subsections I use a simple code. The first letter of the file name (say a small "f"), for example, will keep all the folders of that section together, visually, in a file view. It will also avoid lengthy url's and help prevent broken links.

Am I missing something? Would I be better off using folders?

mack

7:19 am on Apr 5, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What you may want to do is create folders with related content. Lets say your site has a few content areas, have a folder for each topic and serve all your flies from within their topic folder. This is a very common way of achieving this.

Mack.

wolfadeus

10:03 am on Apr 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



100 pages is not that many - you could even dump all files in one folder. Just keep a sitemap for an overview.

gstick

11:29 am on Apr 5, 2007 (gmt 0)

10+ Year Member



For Mack

Am I correct that if I do this I will have to duplicate style sheets. The result may be 5 or 10 different style sheets?

Separate style sheets may be manageable and may even have advantages?

All my link URI's would have to be lengthier? Are there any other problems or advantages?

For wolfadeus

I think that you are quite correct about 100 pages. But the topic has the potential to be much larger depending on relative success down the road. What do you see as the ultimate advantages (if any) of building with folders from the outset?

piatkow

11:35 am on Apr 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can reference a common stylesheet in the root directory. The important thing with a folder based structure is to use the full www address for any common element as paths will not be the same on every page.