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
-
How can I outrank a website whose brand is named specifically after a product / service (and mine is not!) ?
Hi everyone, I've been working hard on my on-page SEO lately so I can gain visibility for my website. The results have been great and I am now on top of the SERP for the services I propose. I think that my content is almost fully optimize and** I've respected all the best practices (both on-page and technical SEO)**. However, there is one problem I just can't deal with for I don't have the knowledge, hence this post. I'm pretty sure that this issue is quite common for SEO experts. Here the thing: I offer dental emergency services, which is my core business. I'm ranked 4th for that request in my area, which is good, but I'd like to rank 1st as** I have a better DA and content than the 3 websites outranking me**. Also, I'm the first result for any other related services such as "dental services" or "dentist". However, when it comes to the theme "dental emergency", I'm constantly outranked by the same 3 websites. I ran an audit on their website but **my content and technical SEO is way better **than theirs. I suppose that the only reason I'm behind them is because they used "dental emergency" in their **Brand name **and, therefore, in the Home page URL. Every time someone is looking up online for "dental emergency", these websites will be on top of the SERP as I think that Google is unable to know whether the users are specifically looking for their websites (aka Brand) or for "dental emergency" services. Here is an example of a competitor: https://www.urgencedentairedemontreal.com/ (urgence meaning emergency in French). His whole Brand name and URL have been built after the "dental emergency." service. On the contrary, **my Brand name does not mention "urgence". ** I see that as a trick that is confusing Google. The fact that my competitors named their Brand after a specific service I also offer is real pain for my SEO. I also think it's really unfair as I've put a lot of effort in designing a nice website with great UX and content. This is the kind of practice that should be penalized in my opinion. Please, does anyone know any way to resolve this issue?
On-Page Optimization | | AlexTL0 -
How to get a mobile thumbnail image next to the search result?
Hey! I noticed the last few months that a lot of google searches now show an image next to your result when on mobile. i managed to get my listing to show an image before but I made some changes to the image and site and can’t seem to get Google to ahow the new image (or any image). I’ve added the image to schema mark up and still no luck. Wouod ahyone have any advice on how to get the image picked up, or st least help increase the odds? The site is https://tourstoniagarafalls.com and you can see it on search (for me it shows on the bottom of page 1) for the keyword “Niagara Falls tours“. Thanks again!
On-Page Optimization | | Originaladam0 -
Alt Tags on multiple product images
Hi I work on SEO for an ecommerce site and wanted to find out how important it is to optimise all images with alt tags. We have alt tags in place, however have not optimised descriptions for the following example images: Front of cupboard Back of cupboard Side of cupboard etc Is this dangerous for SEO if these images all have the same alt tag? We have thousands of products so it would be a huge job to update these, but if it's crucial for SEO we can work through our priorities. Thank you!
On-Page Optimization | | BeckyKey0 -
[HELP!] File Name and ALT Tags
Hi, please answer my questions: 1. Is it okay to use the same keyword on both file name and alt tags when inserting an image? Example: File Name: buy-lego-online.jpg ALT tag: buy-lego-online Will it trigger Google Panda? Will I be penalized for that? Or the file name and alt tags should be different from each other? Because when inserting an image on Wordpress, the alt tags are always the same as the file name by default. 2. For example, I have 2 images in a page (same topic/niche) and I will put "cheap-lego-for-kids" and "best-lego-for-sale" as alt tags. Considering that I repeat the word "lego", is it considered keyword stuffing? Will I be penalized for that? Thanks in advance!
On-Page Optimization | | bubblymaiko0 -
"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 -
Is the HTML content inside an image slideshow of a website crawled by Google?
I am building a website for a client and i am in a dilemma whether to go for an image slideshow with HTML content on the slides or go for a static full size image on the homepage. My concern is that HTML content on the slideshow may not get crawled by Google and hence may not be SEO friendly.
On-Page Optimization | | aravinn0 -
Wordpress & trailing slash on domain name
Hi recently changed my site so it is based on Wordpress, got my preferred domain set in Google webmaster as www.domian.co.uk but since moving to wordpress my domain is now having a slash put on the end of it like www.domain.co.uk/ Most of the links going to my homepage do not have the slash on the end so am I right in thinking I should get rid of the slash from my site so I have one consistent url? If so any ideas how to banish the slash? Cannot seem to do it through the Wordpress general settings (despite preferred domain being set as www.domain.co.uk !) Thanks T
On-Page Optimization | | Jon-C0 -
How many keywords max can I optimize each page for?
I don't want to over optimize by doing 1 keyword per 1 page, but then if I do more, seomoz on-page tool report doesn't give an A grade for each keyword I optimize. I usually optimize for max 3 keywords that are very closely related, meaning they use the same words. Ex. dentist los angeles, los angeles dentist, dentist in los angeles Am I on the right track or what's your recommendation? Should I create different landing pages for each keyword?
On-Page Optimization | | sub90900