Drupal content (pages for Articles, Basic Pages, Events, Photo Albums & Galleries, aka "nodes") is stored in a database, so the pages do not have a traditional folder/file structure.
Every page gets a number
By default Drupal assigns each page an address like: http://www.example.org/node/1
Pages are numbered in the order they were created.
Pages can receive fancier URLs
URL aliases (visitor-friendly non-numerical page addresses) are created with the assistance of these Drupal modules (available for all SCLS-hosted Drupal sites):
- Path: allows users to rename URLs.
- Pathauto: auto-generates page addresses according to a selection of patterns.
- Global Redirect: searches for aliases of requested URLs and redirects if found.
Can I still put my pages in folders?
Drupal pages aren't stored in directory folders, but you can assign folder-like URL aliases to Drupal content. Let's imagine a list of pages that have automatically been assigned URL aliases on your site:
- http://www.example.org/reference
- http://www.example.org/careers-employment
- http://www.example.org/ask-a-question
Now let's imagine you would prefer the page addresses looked like this instead:
- http://www.example.org/reference/index
- http://www.example.org/reference/careers-employment
- http://www.example.org/ask/ask-a-question
To achieve folder-like URLs for your pages, you will need to change each page's URL alias.
To change URL aliases:
- Edit the page that needs to have its URL alias changed.
- Scroll to the bottom of the editing form and click the URL path settings tab.
- Un-check Generate automatic URL alias.
- Type the "folder" name, followed by a slash, followed by the "page" name.
Example: reference/index - Save the page.
The page will be "moved" to the new URL alias. The old URL alias will cease to work. Any visitors to the old URL alias will see a "Page not found" message.
Clean up broken links
If you made links to a page before changing its URL alias, giving it a new URL alias will break the links. You will need to repair your links to use the new URL alias instead of the old one.
Managing URL aliases
Request access to manage the entire list of URL aliases for your site, Path settings, and Pathauto settings. Select Configuration > [Search and metadata] URL aliases to mange these settings.
Folders DO exist in the File Browser
The File Browser (aka the spot where images/documents/other files are uploaded) uses a traditional file-and-folder structure. Files uploaded via the File Browser should be organized according to a clear, consistently folder and file naming scheme.