Top

Naming Conventions for the Web

Please use the following guidelines when naming your web files on the CCRI website, this includes document and images files. 

Here are some guidelines to keep in mind:

Be descriptive

Use names that accurately describe the content of the file or page. For example, if you're uploading a picture of a red wagon, a good file name might be "red-wagon.jpg."

Use hyphens to separate words

When naming files or pages, use hyphens (aka dashes) to separate words, rather than underscores or spaces. For example, use "red-wagon.jpg" instead of "red_wagon.jpg" or "red wagon.jpg."

Use lowercase letters

Always use lowercase letters when naming files, pages, or images. This helps ensure that the name is consistent across different platforms and avoids any potential issues with case sensitivity.

Avoid camel case

Camel case naming conventions are more difficult to read. You should separate words with hyphens:

https://ccri.edu/sites/2020MGConference/ should be https://ccri.edu/sites/2020-mg-conference/

Avoid special characters

Avoid using special characters and characters with accents in file names, page URLs and directories or image names. These characters can cause issues with some browsers and can also cause problems with URLs if not properly encoded.

  • Avoid Spaces or Tabs
  • Avoid Commas or Apostrophes
  • Avoid Slashes or Quotes
  • Avoid # & % + * = @ ~ ^ $
  • Avoid < > ( ) [ ] { } : ; ? !
  • Avoid Other Unusual Characters

Keep file names, page names, and folder names short

Try to keep file names short and to the point. This makes it easier for people to remember the name and also reduces the risk of errors when typing the name.

Windows limits a path to 256 characters, and folks should avoid even getting close to this limit.  Keep your folder names short, and keep your page names short. 

If the length of the path and file name combined exceed ~256 characters you will be able to see the path/files via Windows/File Explorer, but may not be able to delete/move/rename these paths/files.