Could Dreamweaver’s file panel folders (located to the right, within Dreamweaver CS5.5, etc.) potentially contain index.html files that do NOT share such folders’ actual names within their own urls?
The reason I ask is that I would like to create various index.html sub-directories that will all be linked from yet another index.html subdirectory, for web surfers’ convenience. It would really help me keep them all organized (for occasional updates' sake) if I could keep them in a folder within Dreamweaver’s file panel that at least resembles that other index.html subdirectory’s name, though. However, it seems that moving index.html files to such an "alpha" folder inserts that alpha folder’s name into the contained urls, not just its own. Can this be avoided or worked around, somehow, please? In case it helps, I have CS5.5 and will have CS6 upon its release date. Any thoughts, please?
I really have no idea what you are trying to do.... it's just not clear.
As for an index.html file, you could have 100 subfolder (each uniquely name or pathed of course) and each could have it's own index.html file inside it. But inside each folder, you can only have 1 index.html file.
If this is not what you are looking for, please restate your question in clearer terms.
Thanks for the preliminary response. It would really help me keep index.html files organized (for occasional updates' sake) if I could keep them in a folder within Dreamweaver’s file panel (to the right) whose name does NOT appear in those individualized urls.
To give you an example of why I'd like to be able to do this, let's say one wants to have a folder named California, and that various index.html files will be linked from the actual California page. If one wants to update all pages that belong in the California directory, without having to sort through pages that correspond with (for example) Oregon or Arizona that one ALSO maintains, it could be greatly facilitated if such index.html files could be organized into a California file or something whose name is close to it. If a page is named "Sacramento" then it need not have California in the url. Indeed, longer urls are less appealing for the purposes of this endeavor. So in using this concrete example as background, perhaps my initial question makes more sense now? At any rate, thanks for trying
Perhaps there is a misunderstanding about the "index.html" file. On a Web server, the "index" file typically serves as the "Home" or highest level page for any particular folder and the server will normally default to that file even if that specific file is not specified in the URL.
So for example:
load the same file. As does:
"index.php" is the default "Home" page in the "reports" directory as in "index.html" for the root directly of exploreolympics.com
Are you usng and or asking questions related to using "index" files in this way or is it something else?
Do you simply want to hide part of the path in the URL when a viewers visits a Web page?
Thanks for the reply. I do, indeed, use index.html file endings even for sub-directories. That makes for more concise urls. I'm not sure what you mean by the following question though:
"Do you simply want to hide part of the path in the URL when a viewers visits a Web page?"
At any rate, I appreciate any and all potentially helpful feedback from anyone. Perhaps there's a way to group index.html files in the Dreamweaver folders section (located to the right when using Dreamweaver) under a folder name that doesn't appear in the contained urls, themselves?
You can only have one file named "index.html" per folder. So the only way to use multiple files with the same "index.html" file name is to use multiple folders, each which then must have a unique name.
That unique folder name then becomes part of the URL (Uniform Resource Locator) or path to the index.html file.
So, if the only way you can use multiple files with the same name (index.html) is to disperse them into uniquely named folders, and that folder then becomes part of the URL or path to those "index.html" files,
group index.html files in the Dreamweaver folders section (located to the right when using Dreamweaver) under a folder name that doesn't appear in the contained urls, themselves?
It seems that you are attempting to hide part of the URL (the unique folder that a particular index.html file resides in) or why not just use subfolders and include that folder name in the full URL.
Sorry if I am not following you. I feel like we may still be talking about two completely different things.
Thanks again for the supportive helpfulness. So we can create sub-folders within folders, in a way that does NOT include the folders' name in the subfolders' index.html file's url? I'm going to experiment with Dreamweaver right now to see if this can suit my purpose.
You have to include all sub-folder names, however many you use, in any URL... unless you are doing some special re-directs or folder rewrites, both of which would be handled server side.... neither would be available on your local machine.
I just experimented with Dreamweaver and confirmed the disappointing news. Ah well. Is there any convenient way to group folders on my local machine, maybe withOUT using actual "folders" (which unfortunately impose their names into the urls of sub-directories)? Perhaps there's some mechanism that's available for achieving my goal without my having to attempt to modify the server code. Admittedly, though, a preliminary series of experiments hasn't yielded any promising results. Your feedback has been helpful, at any rate.