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:
- healy-hall-featured-large.jpg
- 2022-graduation-audience-promo-large.jpg
- john-carroll-tulips-small.jpg
Examples of bad file names:
- jack the bulldog.jpg
- img00138347723.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.
|