name image files

How to Name Your Image Files for SEO in WordPress

Do you want to know how to name image files for SEO?

Properly naming your image file helps Google better understand your website and, as a result, your website could get better rankings in search results.

In this article, we’ll show you how to name your image files for SEO in WordPress. 

So let’s dig in.

Before going further, let’s see why the title of your image is important for SEO. 

Is Image Title Important for SEO?

Yes, the image title is important because it helps your readers and Google understand what the image is about.

Here’s what Google has to say about it.

“Like many of the other parts of the page targeted for optimization, filenames are best when they’re short, but descriptive.”

This means you need to make sure your image title should be descriptive and easy to understand so that readers and Google have a clear idea of the image’s content. 

How to Name Image Files for SEO

Here are a few things that you need to keep an eye on when choosing an image file name and make your website more SEO-friendly.

1. Find a Relevant Image

Before giving a name to any image, you need to make sure the image you have chosen is the right fit for the section where you want to add it. Even if you have a good name for an image that is not relevant, your readers will find it difficult to make sense of your choice. 

While it is always great to have a customized image, chances are you do not always have the time to come up with a great-looking graphic. In such cases, you can opt for:

  • Images released under Creative Commons (CC) license.
  • Search Flickr (but remember to ask permission before using an image)
  • Use websites like Unsplash that offer free images.

When using any image, make sure you have permission to use it. It is always a good practice to check the license to see if you can use the image or modify it.

Let’s assume the article you have written is about WordPress SEO, and you selected the correct image name, but the image you chose is more relevant to accounting than WordPress.

WordPress SEO wrong image

Now consider the following image: 

WordPress SEO correct image

The name of both the images is WordPress SEO.

You can see even with the correct image name, the first image does not go well with the idea of WordPress SEO. In contrast, the second image is perfectly understandable by the readers and search engines.

2. Set SEO Friendly Image File Name

Choosing the right image file is only half the battle, naming it is another equally important part of image SEO optimization.

For example, let’s take a look at the below image. What would be the best file name for it?

how to name image files for SEO

Bad Image Name Example: 

  • 324oiu98.jpg
  • Dslkjdklfj.jpg
  • AIOSEO-dashboard-image-is-here-download-it-now.jpg

Good Image Name Example:

  • AIOSEO-Dashboard.jpg
  • Dashboard-AIOSEO.jpg

3. Avoid Underscores and Use Dashes Instead

Did you know Google doesn’t recommend using underscores?

You’ve read it right… when you name your image files, it’s always recommended to choose dashes or hyphens instead of underscores?

See the example below:

  • Good Practice: Google-Image-SEO
  • Bad Practice: Google_Image_SEO

Similarly, it’s also recommended to use all lower cases for your image files.

Bonus Tip: Don’t Forget the Alt Text

Adding Alt text to your images is the best way to convey your message to search engine spiders. Google recommends that the Alt text should be present for each image, and it should describe the image.

Most importantly, Alt text offers another opportunity to target the keywords phrases and thus help improve image optimization. For more details, please visit how to write Alt text for images for SEO

Here’s a screenshot on how to add Alt text to your WordPress images. 

In the above image, you can see the Alt Text option that appears for every image. Here you can add your focus keyphrase with the description of the image.

SEO is a serious game, and image optimization is an important aspect of making your website SEO friendly and getting more targeted traffic

For easy WordPress SEO optimization, you can try AIOSEO, the best WordPress SEO plugin on the planet. 

We hope you learned how to name image files for SEO, optimize them for your websites.

You may also want to check out our ultimate WordPress SEO guide.

What are you waiting for? Get started with the most powerful WordPress AIOSEO plugin today. 

Reply Cancel Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

1 comment on “How to Name Your Image Files for SEO in WordPress

  1. This is a wonderful guide about image names, mainly everyone did this mistake. i am using learning SEO guidance from you and implementing using aioseo plugin in my website your guidance is very valuable and result oriented. Thank you Team