WiscWeb - WordPress UW Theme - Recommended File Naming Conventions for Media
This document will describe the need for good naming conventions for your media files in WiscWeb.
When uploading files to WiscWeb, we recommend including the following information in the file name:
- Main Subject
- Role of the File/Category
- Size, if applicable
For example, if you have a JPEG image of Bucky Badger's headshot, consider the following format for your file name:
The key is to be descriptive but relevant. A user should understand what the file contains simply by reading the file name title.
There are a lot of great benefits to implementing consistent and descriptive names for your files in your Media Library, but here are the top two reasons:
Ease of Keyword Searching
The biggest benefit to having a good naming convention for your media files is that it improves your ability to locate the file you are looking for in your Media Library. WordPress allows you to search for media based on keywords and words used in the file name are included in that search. By adding key terms to your file name, you will more easily locate your files. This is key since WordPress does not, by default, offer any sort of categorization for media.
Impact on SEO
Search engines like Google are always changing what they deem as relevant information to the user but one thing is pretty standard - having a descriptive file name is always a good idea.
Many files that we upload are inheriting names from the tool they were downloaded from (like a camera, or a photo library). Examples include:
Not only are these file names not descriptive, they are not helpful. They give you no indication about what the file is about and they hurt your site when it comes to SEO.
Instead, consider Google's recommendations for optimizing your website's images.
If you have a lot of media in your Media Library already and cannot easily update all of your file names, you can still improve the searchability of your images and documents without uploading all new files. To do so, go through and add descriptive titles to each:
- Navigate to your Media Library
- Click on a file to select it
- To the right, you should see an area called Attachment Details with information about the image. Click on the Edit Image link
- A popup window should appear with more info about your image
- In the Title field, give your file a descriptive title (your edits will automatically be saved)
- Use the left and right arrows up at the top to navigate to a new file
- When finished, click on the "X" in the top right to exit the window