|
Posted by Andy Dingley on 12/19/06 14:34
Jim S wrote:
> At present all my html files (inc index.html) are in the root directory.
Then split your html files up into subdirectories. This has several
advantages:
- Smaller groups of related files are easier to manage (no more
"hundreds in a directory" clutter)
- Related groups can give you more structured URLs, such as
http://example.com/section1/
This also lets you skip the page name when you can just use a directory
and the default document (it's not the only way to do this, but it's
easy, convenient and a benefit of good structure)
- Root is cleaner, and there's a few magic files in there that you
might want to keep obviously visible, without clutter.
> This must be the shortest path length,
Shortest path length is no path length
[Back to original message]
|