Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. On-Page Optimization
    4. Image Optimization - File Name Important?

    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?

    On-Page Optimization
    7
    12
    42217
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • EssEEmily
      EssEEmily last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • robertrRSwalters
        robertrRSwalters last edited by

        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?

        1 Reply Last reply Reply Quote 4
        • MikeGracia
          MikeGracia @EssEEmily last edited by

          No probs, glad to help!

          Hope you Friday doesn't drag too long due to all this!!!

          1 Reply Last reply Reply Quote 0
          • EssEEmily
            EssEEmily last edited by

            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!

            MikeGracia 1 Reply Last reply Reply Quote 0
            • GapUpInternetMarketing
              GapUpInternetMarketing @EssEEmily last edited by

              Yes, when it doubt add puppies.  That always helps.

              1 Reply Last reply Reply Quote 3
              • MikeGracia
                MikeGracia @DanHill last edited by

                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!!!

                1 Reply Last reply Reply Quote 0
                • DanHill
                  DanHill last edited by

                  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

                  MikeGracia 1 Reply Last reply Reply Quote 2
                  • gmellak
                    gmellak last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • MikeGracia
                      MikeGracia last edited by

                      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!

                      1 Reply Last reply Reply Quote 0
                      • EssEEmily
                        EssEEmily @GapUpInternetMarketing last edited by

                        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.

                        GapUpInternetMarketing 1 Reply Last reply Reply Quote 3
                        • GapUpInternetMarketing
                          GapUpInternetMarketing last edited by

                          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

                          EssEEmily 1 Reply Last reply Reply Quote 5
                          • MSSTORAGE
                            MSSTORAGE last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            Got a burning SEO question?

                            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                            Start my free trial


                            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.

                            • See all categories

                            Related Questions

                            • UWPCE

                              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 | | UWPCE
                              0
                            • vikasnwu

                              Logo Image H1 Tag SquareSpace

                              We have a site hosted on SquareSpace:  Roomhance.com Going through the on-page optimizaton tool, we noticed that the H1 tags weren't fully optimized. If you click on view source on the page, it shows 2 H1 tags on the home page: id="logoImage"><a <span="" class="html-attribute-name">href</a><a <span="" class="html-attribute-name">="</a>/">src="//static1.squarespace.com/static/5bcca055ab1a62465f5b9ee7/t/5c18feb270a6adf771765799/1588613682225/?format=1500w" alt="Virtual Staging For Real Estate | Roomhance" /> style="text-align:center;white-space:pre-wrap;">Virtual Staging The 2nd one shown above it the H1 tag we want.  I'm wondering if the H1 tag in the logo image is hurting us for SEO?  Can't figure out how to modify it in SquareSpace.

                              On-Page Optimization | | vikasnwu
                              0
                            • DVLighting

                              Is using a H1 tag in a logo image bad for SEO?

                              We have brand logos on certain pages that have H1 tags in them - the H1 text being the brand's name, as this is what we'd want the title of the page to be.  The logos are at the top of the page instead of a written title. But is this the best option for SEO? Do search engines value H1 tags in images as highly as a standard H1 tag?Would it be better for SEO to add an alt tag to the logo and add a separate H1 tag on the page that's also the name of the brand?

                              On-Page Optimization | | DVLighting
                              0
                            • JakeWarren

                              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 | | JakeWarren
                              1
                            • henandstag

                              Responsive images srcset

                              Is delivering scaled images using srcset a good idea? Thinking of delivering one image size to Mobile and another to Desktop. How can I do this for all browsers? Thanks Mike

                              On-Page Optimization | | henandstag
                              2
                            • momof4

                              "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
                              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!

                              On-Page Optimization | | momof4
                              0
                            • RomiSverige

                              Important keywords in product names

                              Hi! among other we sell motorcycle clothing, which you can buy as a set (both jacket and pants) or single piece. Currently we name the products with the labeling in the beginning, e.g: Motorcycle pants R2000, Motorcycle jacket R2000, Motorcycle kit R2000 Motorcycle pants R4000, Motorcycle jacket R4000, Motorcycle kit R4000 This is causing keyword stuffing and cannibalization in the category pages as all the product names include important keywords. On the other hand it would be beneficial to keep the labeling in the name for search queries for the exact product. What be your recommendations? I tend to take the labeling away.

                              On-Page Optimization | | RomiSverige
                              0
                            • lwilkins

                              Is it better to include the secondary keyword or site name in a title tag?

                              When I add a site name to my title tag with long-tailed primary and secondary keywords the title tag is longer than 70 characters. I need to include all three parts, so what should I do? At 70 characters the site name is usually partially cut off. I do not want to get penalized by Google, but I need to include the site name to have consistency. I am using the format Primary Keyword-Secondary Keyword | Site name

                              On-Page Optimization | | lwilkins
                              0

                            Get started with Moz Pro!

                            Unlock the power of advanced SEO tools and data-driven insights.

                            Start my free trial
                            Products
                            • Moz Pro
                            • Moz Local
                            • Moz API
                            • Moz Data
                            • STAT
                            • Product Updates
                            Moz Solutions
                            • SMB Solutions
                            • Agency Solutions
                            • Enterprise Solutions
                            Free SEO Tools
                            • Domain Authority Checker
                            • Link Explorer
                            • Keyword Explorer
                            • Competitive Research
                            • Brand Authority Checker
                            • Local Citation Checker
                            • MozBar Extension
                            • MozCast
                            Resources
                            • Blog
                            • SEO Learning Center
                            • Help Hub
                            • Beginner's Guide to SEO
                            • How-to Guides
                            • Moz Academy
                            • API Docs
                            About Moz
                            • About
                            • Team
                            • Careers
                            • Contact
                            Why Moz
                            • Case Studies
                            • Testimonials
                            Get Involved
                            • Become an Affiliate
                            • MozCon
                            • Webinars
                            • Practical Marketer Series
                            • MozPod
                            Connect with us

                            Contact the Help team

                            Join our newsletter

                            Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

                            Moz logo
                            © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                            • Accessibility
                            • Terms of Use
                            • Privacy

                            Looks like your connection to Moz was lost, please wait while we try to reconnect.