You are here: Home >
Web Content Blog
» Main Page
» Archives


Tuesday, November 3, 2009
Improve your file names and reap rewards

Why should you care about how you name JPGs, PDFs, and other files used on your web pages? Because doing it the right way helps avoid problems and can actually improve the value of your web pages.

Well-named files will:

  • Improve search results
  • Make identifying files easier
  • Keep urls neat, tidy, and easy to read

Proper file naming involves using appropriate keywords – descriptive words or phrases someone might search for – and avoiding spaces and special characters.

File naming rules:

  • Use a hyphen between words.
  • Put important keywords at the front of the file name.
  • Don’t run words together with no spaces
  • Don’t use spaces or underscores to separate words
  • Don't use special characters in the file name (including #, %, &, $, and most other symbols)

When you fail to follow these rules, you get file names that look like this: 

Example of a bad file name

Web browsers replace spaces in filenames with "%20," making it difficult for humans to read. Running words together is not as difficult for humans to read, but search engines can't distinguish individual words that have no separator.

Search engines can't distinguish individual words when they run together

But both humans and search engines can read this neat and tidy name:

Good filenames separate individual words with hyphens and don't include special characters

good check markGood filename examples:

  • student-leader-move-in-day.jpg
  • LUOA-4th-Grade-Curriculum-Guide.pdf

bad x markBad filename examples:

  • 20120814_3511JR.jpg 
  • LUOA_4th_Grade_Curriculum_Guide_rev__10-2013.pdf 
  • LUOA 4thGradeCurriculumGuide rev10-2013.pdf 

A note on dates in filenames

If you have PDFs that you replace each year, here's one more tip to keep your file manager neat and tidy: don't include the date in your PDF filename. Instead, put the date in the document itself - in the header, footer, or even the title. Here's how:

  1. Update your PDF document with the new date in the header, footer, or title
  2. Save the PDF with a descriptive name that doesn't include dates
  3. Upload the new document to the same file manager folder location

The benefits?

  • The new file will replace the old file automatically 
  • All links to your document will now point to the newly updated file and
  • You won't have all those outdated versions cluttering up your file manager folders

 
Posted at 4:21 PM | Comments (1)