
November 14th, 2011, 11:02 PM
|
 |
Code Monkey V. 0.9
|
|
Join Date: Mar 2005
Location: A Land Down Under
|
|
|
I think you're getting your terminology and functionality mixed up a bit. But it can be a bit confusing.
What requinix is trying to suggest (which is the best way to do it) is to use server re-writing to mask the folder names.
This will take a URL like (this is what your users will see):
http://yoursite.com/folder1
And re-write the URL when it hits the server to go to something like (this is what the server will see and use):
http://yoursite.com/yourpage.php?folder=folder1
This will work the same for any folder. Any first-level folder will map to yourpage.php?folder=*FOLDER NAME* so you know what to put on that page.
So, you don't have hundreds of folders around the site, and you don't need to have anything special done. On *nix servers, it's mod-rewrite using the Apache .htaccess file. On Windows it's set up in IIS (I don't know Windows much so I can't comment on how it's done there).
|