Adobe CS5 Dreamweaver File Naming Hints - dummies

By Jennifer Smith, Christopher Smith, Fred Gerantabee

Start the habit of naming Adobe Creative Suite 5 (Adobe CS5) Dreamweaver files and folders correctly. Follow these hints to make sure that links and pages appear when they’re supposed to:

  • Use lowercase for all filenames. Using all lowercase letters in filenames is an easy way to ensure that you have no broken links because you couldn’t remember whether you initial-capped a filename.

    Some web servers (such as those based on Unix or Mac OS X) are case sensitive. Although a Windows server may be more forgiving of case, you don’t want to count on it in the event your files are moved to a different type of server.

  • Avoid using spaces in filenames. If you need to separate words in a filename, use the underscore character instead of a space. For example, rather than use file new.html, use file_new.html or even filenew.html.

  • Use only one dot, followed by the extension. Macintosh users are used to having no naming restrictions, so this rule can be the toughest to adhere to. Don’t name your files finally.done.feb.9.jpg B-A-D, for example, it’s bad for Internet use. Examples of dot-extensions are .jpg, .gif, .png, .htm, .html, .cgi, .swf, and so on.

  • Avoid odd characters. Characters to avoid include dashes (–) or forward slashes (/) at the beginning of the filename. These characters can have other meanings to the web server and create errors on the site.