Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Image Optimization - File Name Important?
-
I am currently working on a site with 100+ recipes that all have image file names that are relevant, but not optimized for keyword purposes. I'm wondering - from an SEO perspective - would it be worth my time to go back through all of the images and rename them with keywords in mind?
On my own site I have always done this as a "best practice" but I'm curious - does it make a difference to search engines? Does anyone have any recent research/experiences that they would like to share?
Thanks!
-
I would be intested in knowing what you guys think is the best way to name images?
say "rustic-oak-3-draw-bedside.jpg"
How long should the names be max and are hyphens ok do you think?
-
No probs, glad to help!
Hope you Friday doesn't drag too long due to all this!!!
-
Thanks everyone. It seems the consensus is to rename the files (assuming they aren't already ranking high with their current file name), ensure each one has proper alt text and submit an image site map to google.
I've got a busy Friday ahead of me!
Also, Mike - thanks for the tip on the caption tag. I hadn't thought of that. Every little bit of "google juice" helps. I'm going to give it a try!
-
Yes, when it doubt add puppies. That always helps.
-
Daniel, I gave you a thumbs up, as I think that is a good point

It could help if you submit an image sitemap once the renaming has been done, or even impliment 301 redirects from the old image URL to the new ones, but unless you have an automated way of doing the redirects, it could be quite a long process to do them manually!!!
-
Another thing to consider is that if you do have an image ranking within the SERPS that you don't change the filename at all - I've seen that it takes google's bot(s) much longer to reindex an image that's filename has changed vs like some content change or meta title etc
-
YES! We've seen a significant drop in visits via google images when one of our clients eventually changed their file-upload-backend and files were named automatically like 445390348043534.jpg - we then added a separate module only to assure the naming is correct and useful, and are slowly recovering the lost google images visits.
-
Benjamin pretty much covered it I feel!
Remember, Googlebot is, well, a bot! To help Googlebot, and it's associated algorithms figure out what your images are about, you should ensure certain 'triggers' are well taken care of.
Filename is one such trigger, as is alt text (both mentioned by Benjamin already).
Additionally I would consider adding title tags to the images, and at times that you link to any of the images, use relevant anchor text too, as this can help.
Also consider using tags, for example, Paella Recipe as this can give an extra bit of help in regards to Google & other engines understanding what the image is all about.
Then if you are really wanting to go the extra mile;
Image sitemap submission to Google, to try to make sure big G finds all of your images! (see here: http://www.google.com/support/webmasters/bin/answer.py?answer=178636 ) Note the tags that you can use, specifically the caption and title should be quite useful for image SEO etc

Hope that helps!
-
Thanks, Benjamin. That's a great way of looking at it. All of the images I looked at did have "golden retriever" in the beginning of the file name.
Plus bonus points because I got to look at puppies.
-
Hi Emily,
Yes, it does make a difference. Think about it from Google's perspective. If you're crawling a site and come across an image with no ALT tag, no title, and a name of C19823.JPG. What could that image be?
Now imagine you're Google and you come across an image titled golden-retriever.jpg. There's a pretty good chance that image is of a dog. Especially if the content on the page is also about dogs. The more clues that Google can use to figure out what a site is about the better.
Do a Google Image search for "golden retriever" and look at the file names. Notice any similarities?
-Benjamin
-
In short, yes. I've always found them to be a benefit - essential on an image search ranking. Also don't forget your alt tags.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Multiple H1s and Header Tags in Hero/Banner Images
I work on education websites, and our sites are being flagged by SEO and accessibility checkers for having multiple H1s. The home pages have the site name as an h3 in the hero image, and an aspirational headline (think: Be Like Mike) as an H1. The sub-pages have two H1s: one on the site name in the banner image, and the other on the page title. Note that the site name is very keyword-rich. If we were to remove the H1 and H3 tags from the hero/banner images, would it do any SEO harm? At the same time, we’d rewrite the H1 on the home page to be more keyword-focused. Any other options? I also read that it’s OK to have multiple H1s as long as it’s clear which H1 belongs to the heading area and which one belongs to the body area of the page. Thanks in advance!
On-Page Optimization | | UWPCE0 -
SEO Implications of using Images for Article Titles
Hi guys! New to Moz Pro. I just recently completed an online course with Moz... I have a client who is writing some new content for their site, and we are approaching it with SEO in mind. I was wondering about using an image with text on it as the article title, instead of an actual "text on the page" title. Wondering if that's going to "cost" us anything, SEO wise. I guess we could use alt-text/title/description fields to make sure the keywords are crawlable for our article title but do they have less "weight" than a standard title? How does that work? Hope my question makes sense. Article header attached mB0PXsA.jpg
On-Page Optimization | | JakeWarren1 -
Do You Add City Name & Key Word For Every Page?
Hello, I'm new to SEO but feel I have a decent grasp on it. However, I had a question pertaining to key words and using my city name in it. For instance, if I am using the key word "herniated disc treatment" do I need to put in my city name behind it or does google recognize that I am already in my city area because of my geo tagging and having it listed on the footer of my site? Any help would be greatly appreciated. Thanks! -Scott
On-Page Optimization | | slgray0 -
Can lazy loading of images affect indexing?
I am trying to diagnose a massive drop in Google rankings for my website and noticed that the date of the ranking and traffic drop coincides with Google suddenly only indexing about 10% of my images, whereas previously it was indexing about 95% of them. Wondering if addition of lazy load script to images (so they don't load from the server until visible in the browser) could cause this index blocking?
On-Page Optimization | | Gavin.Atkinson1 -
Using a dash or underscores in file names.
Is it better to use a dash or an underscore in file names to improve SEO? EX memory_flash.jpg or memory-flash.jpg Or does it make no difference?
On-Page Optimization | | Robotnik0 -
NOINDEX, FOLLOW on product page - how about images indexing?
Hi, Since we have a lot of similar products with duplicate descriptions, I decided to NOINDEX, FOLLOW most of these different variants which have duplicate content. However, I guess it would be useful in marketing terms if Google image search still listed the images of the products in image search. How does the image search of Google actually work - does it read the NOINDEX on the product page and therefore skip the image also or is the image search completely dependent on the ALT tag of any image found on our site? Thanks!
On-Page Optimization | | speedbird12290 -
"translation" of code in htaccess file
Hi everyone! I am a newbie to the whole SEO and html thing and I am trying to get a better understanding of the "behind the scenes" part of my website. I hope I can find someone here who can translate a piece of code for me that I have in my htaccess file: Options -Multiviews
On-Page Optimization | | momof4
Options +FollowSymLinks
rewritecond $1 !^(index.php|public|tmp|robots.txt|template.html|favicon.ico|images|css|uploads)
rewritecond %{REQUEST_FILENAME} !-f
rewritecond %{REQUEST_FILENAME} !-d
rewriterule ^(.*)$ index.php?link=$1 [NC,L,QSA] I know that something is getting redirected to the index file, but what (or when) exactly? Does the word "robots"mean that search engine crawlers are getting redirected here? And is this good or bad (in terms of SEO)? Or is this redirecting people who try to get to my robots/ template or image files?? Thanks in advance for any answers!0 -
Optimizing for another keyword than the menu name
Hi I would like to hear if someone could help me decide whether or not it is important regarding SEO that the menu name is the same as the keyword we want to rank for. The site is a static site and one of our most important keywords. To give an example. Our menu name is "cars" and we want to rank for "cheap rental cars".
On-Page Optimization | | KennethK0