skip to main content

TAMU Webmaster's Blog


Information and insight from the A&M Webmasters

Keep file and subdirectory names short and descriptive

June 27th, 2007 by tamuwebmaster

Give your files and subdirectories short, descriptive names and always use lower case. By doing so, you simplify your URL. Any time you refer to a URL in media or places other than the Web–especially verbally–shorter and clearer is always better:

• Good: http://www.tamu.edu/go/to/this/page/
• Bad: http://www.tamu.edu/randomDirectoryName/miXedCase/PaGe/

Keep in mind that unix systems, such as www.tamu.edu, are case sensitive, making the above example is doubly problematic.

Wednesday, June 27th, 2007 Navigation, Style Guide
Share this article

1 Comment to Keep file and subdirectory names short and descriptive

  1. Keep this in mind when trying to tailor your website for SEO. Having appropriate URLs (and ones that make logical sense) like the ones listed above does help improve SEO.

    Something that slightly differs from this article, however, is rather than having a website that has the URL:

    http://somewhere.tamu.edu/index.php?section=news&archive=2006

    It’s easier to remember (and easier to index for search engines) in the following format:

    http://somewhere.tamu.edu/news/archive/2006/

    This can be done with mod_redirect in Apache and there are similar solutions for most other web servers out there. Of course, you have to put code in your application to determine the appropriate path…

  2. Christopher Weldon on June 29th, 2007

Leave a comment

Categories

Archives