It is best to stick to letters and numbers only when naming your media files. If the file name of your image has other characters, such as a space or underscore, they should be removed or replaced with a dash, the “-” symbol. This practice is consistent with WordPress URL naming conventions. It is important to note that in Wordpress, the file name becomes part of the URL.
We recommend including the following information in the file name when adding media files to your website:
- Main Subject
- Role of the File
- Size, if applicable
Consider the following syntax for your file name if you have a JPEG image of Jack the Bulldog used as a Call To Action (CTA): Jack-the-bulldog-cta-medium.jpg
Other examples of good file names:
Examples of bad file names:
- jack the bulldog.jpg
- john carroll & tulips.jpg
The goal is to be descriptive while remaining relevant. By reading the file name title, a user should be able to figure out what the file contains.