School navigation

LiveWhale Support

Naming Files and Directories in LiveWhale

May 10, 2011

File naming encompasses many things in LiveWhale like the name of a directory, the name of a file within a directory, a title of a page, or an attached document.

Why is this string of text so important? A good file name helps you organize your content and also gives others on the web enough information to find and share your content.

Here are some best practices when considering file names.

Directories

Generally, spelling things out in plain English helps immensely. However, there are some rules. For directories, spell things out but when there is a space between words, use an underscore (“_”) to tie things together.

DON’T: “timydf001” or “this is my directory filename” or “thisismyfilename”

DO: “this_is_my_filename”

Files in Directories

A general rule of thumb for the naming of files is this: every file should be named “index.php” and the directory should provide the descriptive name.

For example, when creating an “About Us” page, the name of the directory should be “about_us” and “index.php” should be a file residing within that directory.

Share this story on

Contact Us

  • 19

    New Media is located in room 123/124 of McAfee on the Undergraduate Campus.

    email

    voice 503-768-7972 fax 503-768-7969

    Director Morgan S. Grether

    New Media

    • New MediaLewis & Clark0615 S.W. Palatine Hill RoadMSC 19PortlandOR97219