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.
Would changing the file name of an image (not the alt attribute) have an effect of on seo / ranking of that image and thus the site?
-
Would changing the file name of image, not the alt attribute nor the image itself (so it would be exactly the same but just a name change) have any effect on :
- a) A sites seo ranking
- b) the individual images seo ranking (although i guess if b) would be true it would have an effect on a) although potentially small.)
This is the sort of change i would be thinking of making :

changed to

-
Agree with Ryan - if you want to make changes - better make the image name a descriptive one.
Also, take care if you get search traffic from image search - changing the name of your images could cause a big negative impact on your traffic. In my experience the image index is updated slower than the normal index - so if 2554.jpg is indexed and you change it to 6842.jpg or even better red-ford-truck.jpg the image in the result will return a 404 and be replaced by the same image from another site (if it's a stock photo) or dropped from the results. Better to keep the old image in the initial location until the index is updated
rgds
Dirk
-
When I write an article the images always have file names that match the content of the image and an important keyword of the article. The alt attributes are more detailed because they provide information to screen readers.
I believe that the names of your image files and the alt attributes are small optimization elements that will help rank a page. It might be enough to move you up a position or two if you are deep in the SERPs, but if you are in a battle for the top three for a competitive term then authority is going to be far more important than the sum of the small optimization elements.
-
Why not change the file name to 'red-for-truck.jpg'? That would probably have a more positive effect. Much of what dictates image optimization is the same as on page factors, as described here: http://a-moz.groupbuyseo.org/blog/is-optimizing-photos-more-important-than-you-think. (On page factors: http://a-moz.groupbuyseo.org/learn/seo/on-page-factors) Plus Google has its own guide for image sitemaps here: https://support.google.com/webmasters/answer/178636. Cheers!
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
-
Pausing a site - how to do this with minimum damage to SEO for period of pause
Hi - Have a site that needs to be paused due to the current global pandemic. Their production is about to go into shut down for 4 weeks (minimum), which means they wont be able to fulfil any online orders. So what's the best way to pause the site, while minimising any long term impact to any SEO gains so far achieved? Banner / interstitial use informing of halted ordering Create a landing page on the site with long form content that the banner links to for customers to get more information about the temporary closure of site Removing add to cart, purchase and product pricing from product pages/site Anything else that should be considered here? I've seen reference to application 503, but don't think this is a good idea. Any advice is appreciated.
Intermediate & Advanced SEO | | akaandrew0 -
SEO effect of URL with subfolder versus parameters?
I'll make this quick and simple. Let's say you have a business located in several cities. You've built individual pages for each city (linked to from a master list of your locations). For SEO purposes is it better to have the URL be a subfolder, or a parameter off of the home page URL: https://www.mysite.com/dallas which is essentially https://www.mysite.com/dallas/index.php or http://www.mysite.com/?city=dallas which is essentially https://www.mysite.com/index.php?city=dallas
Intermediate & Advanced SEO | | Searchout0 -
Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
Hi what is the code to redirect wordpress blog from site.com/%post_id%/%postname%/ to site.com/blog/%postname%/ We are moving the site to a new server and new url structure. Thanks in advance
Intermediate & Advanced SEO | | Taiger0 -
Does it hurt your SEO to have an inaccessible directory in your site structure?
Due to CMS constraints, there may be some nodes in our site tree that are inaccessible and will automatically redirect to their parent folder. Here's an example: www.site.com/folder1/folder2/content, /folder2 redirects to /folder1. This would only be for the single URL itself, not the subpages (i.e. /folder1/folder2/content and anything below that would be accessible). Is there any real risk in this approach from a technical SEO perspective? I'm thinking this is likely a non-issue but I'm hoping someone with more experience can confirm. Another potential option is to have /folder2 accessible (it would be 100% identical to /folder1, long story) and use a canonical tag to point back to /folder1. I'm still waiting to hear if this is possible. Thanks in advance!
Intermediate & Advanced SEO | | digitalcrc0 -
Does blocking foreign country IP traffic to site, hurt my SEO / US Google rankings?
I have a website is is only of interest to US visitors. 99% (at least) of Adsense income is from the US. But I'm getting constant attempts by hackers to login to my admin account. I have countermeasures fo combat that and am initiating others. But here's my question: I am considering not allowing any non US, or at least any non-North American, traffic to the site via a Wordpress plugin that does this. I know it will not affect my business negatively, directly. However, are there any ramifications of the Google bots of these blocked countries not being able to access my site? Does it affect the rankings of my site in the US Google searches. At the very least I could block China, Russia and some eastern European countries.
Intermediate & Advanced SEO | | bizzer0 -
Should I redirect images when I migrate my site
We are about to migrate a large website with a fair few images (20,000). At the moment we include images in the sitemap.xml so they are indexed by Google and drive traffic (not sure how I can find out how much though). Current image slugs are like:
Intermediate & Advanced SEO | | ArchMedia
http://website.com/assets/images/a2/65680/thumbnails/638x425-crop.jpg?1402460458 Like on the old site, images on the new website will also have unreadable cache slugs, like:
http://website.com/site_media/media/cache/ce/7a/ce7aeffb1e5bdfc8d4288885c52de8e3.jpg All content pages on the new site will have the same slugs as on the old site. Should I go through the trouble of redirecting all these images?0 -
SEO site Review
Does anyone have suggestions on places that provide in depth site / analytics reviews for SEO?
Intermediate & Advanced SEO | | Gordian0 -
Is there a limit to images file names?
Hi, I have an eCommerce site with hundreds of product images. For management reasons files are named in length to have the product details in them.
Intermediate & Advanced SEO | | BeytzNet
Is there a limit for a filename length before it is considered ambiguous or spammy etc.?
(it usually ranges 50-70 chars). Thanks0