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.
Is there a limit for a filename length before it is considered ambiguous or spammy etc.?
(it usually ranges 50-70 chars).Thanks
-
I agree with Sean - I've never heard of an official limit to image filenames in terms of length alone. Since the file name is almost always part of the image URL, you could be running the risk of too-long URLs but that's a relatively minor problem. I would make extra sure that your file names don't appear keyword-stuffed, though - so watch out for things like repeating keywords or having all variations of a keyword. There's a big difference between widgets-extralarge-round-blue-widgetmaker.jpg and blue-widgets-best-blue-widgets-blue-widgets-online-free-shipping, if that makes sense. Other than that you should be fine.
-
I've never encountered an official limit to image filenames, and I'm not sure there is any SEO impact (other than just the engines ignoring alot of the filename in their crawl). Putting the product description in the filename seems VERY unnecessary and I would try to get some rationale around that. But for the web usage overall, I've never encountered a filename that is too long. 50-70 characters is alot but not prohibitively.
-
Thanks.
The only other way I see to maintain order and shorten the filename is to place them within folders:
domain.com/images/products/category-name/product-title.jpg
VS
domain.com/images/products/product-title-product-category.jpg
But then I can have several exact same file-names (that are placed on different categories)
-
Hi, 50-70 characters does seem quite spammy to me, but then if you watch the Image SEO Basics Whiteboard Friday by Aaron Wheeler, he says that image filename length has much the same character length as Alt Text, so on that basis the answer would be no.
It would be interesting to hear others feedback on this.
Peter
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
-
Why are my site images hosted by secureservercdn.net?
All of my image links are hosted on secureservercdn.net. for example, if i go to a webpage, mydomain.com/blog/blog-post and right click any image with a "copy image address" the images are all linking to secureservercdn.net/blablabla rather than mydomain.com/wp-uploads/blalblabla. this cannot be good for SEO. Any ideas why this would be? My site is hosted through GoDaddy, is it on their end? Thanks, Ryan
Intermediate & Advanced SEO | | RyanMeighan0 -
Google not Indexing images on CDN.
My URL is: http://bit.ly/1H2TArH We have set up a CDN on our own domain: http://bit.ly/292GkZC We have an image sitemap: http://bit.ly/29ca5s3 The image sitemap uses the CDN URLs. We verified the CDN subdomain in GWT. The robots.txt does not restrict any of the photos: http://bit.ly/29eNSXv. We used to have a disallow to /thumb/ which had a 301 redirect to our CDN but we removed both the disallow in the robots.txt as well as the 301. Yet, GWT still reports none of our images on the CDN are indexed. The above screenshot is from the GWT of our main domain.The GWT from the CDN subdomain just shows 0. We did not submit a sitemap to the verified subdomain property because we already have a sitemap submitted to the property on the main domain name. While making a search of images indexed from our CDN, nothing comes up: http://bit.ly/293ZbC1While checking the GWT of the CDN subdomain, I have been getting crawling errors, mainly 500 level errors. Not that many in comparison to the number of images and traffic that we get on our website. Google is crawling, but it seems like it just doesn't index the pictures!? Can anyone help? I have followed all the information that I was able to find on the web but yet, our images on the CDN still can't seem to get indexed.
Intermediate & Advanced SEO | | alphonseha0 -
Heading Tags (Specifically H2) being used within images
Hello, Mozzers I have a question regarding placement of heading tags. I have seen this asked a few times on the forum but some are from a couple years ago so wanted to get a more up to date answer regarding this. We want to add H2 tags across our site but our two options are to wrap images we are using as navigation on the top of the page, these are directly below our pages H1 tag and actually make sense. Example H1 title: Vehicles Images are specific brand logo with H2 being wrapped to pull the img alt: "Ford Vehicles" "Checvy vehicles" etc. The wrap would look something like this: I appreciate your time, Chris
Intermediate & Advanced SEO | | kirin443550 -
On 1 of our sites we have our Company name in the H1 on our other site we have the page title in our H1 - does anyone have any advise about the best information to have in the H1, H2 and Page Tile
We have 2 sites that have been set up slightly differently. On 1 site we have the Company name in the H1 and the product name in the page title and H2. On the other site we have the Product name in the H1 and no H2. Does anyone have any advise about the best information to have in the H1 and H2
Intermediate & Advanced SEO | | CostumeD0 -
Image impressions fall drastically
Hi everyone, On June 15th, 2015 we saw a huge drop(70%) in image impressions and clicks for website: http://www.zakoopi.com/ What can be the possible reason for that? Please let me know what can be done to improve the impressions.
Intermediate & Advanced SEO | | Obbserv0 -
Site was moved, but still exists on the old server and is being outranked for it's own name
Recently, a client went through a split with a business partner, they both had websites on the same domain, but within their own sub directories. There is a main landing page, which links to both sites, the landing page sits on the root. Ie. example.com is a landing page with links to example.com/partner1, and example.com/partner2 Parter 2 will be my client for this example. After the split, partner 2 downloaded his website, and put it up on his own server, but no longer has any kind of access to the old servers ftp, and partner 1 is refusing to cooperate in any way to have the site removed from the old server. They did add a 301 redirect for the home page on the old server for partner 2, so, example.com/partner2/index.html is 301'ing to the new site on the new server, HOWEVER, every other page is still live on that old server, and is outranking the new site in every instance. The home page is also being outranked, even with the 301 redirect in place. What are some steps I can take to rectify this? The clients main concern is that this old website, containing the old partners name, is outranking him for his own name, and the name of his practice. So far, here's what i've been thinking: Since the site has poor on-page optimization, i'll start be cleaning all of that up. I'll then optimize the home page to better depict the clients name and practice through proper usage of heading tags, titles, alt, etc, as well as the meta title and description. The only other thing I can think of would be to start building some backlinks? Any help/suggestions would be greatly appreciated! Thanks.
Intermediate & Advanced SEO | | RCDesign740 -
How do I test images in WP migration without Changing URLs?
I'm redesigning example.com on a subdomain of my own site, so at example.mysite.com. As part of the redesign, I am optimizing the site's images. I used Wordpress Importer to get the content to the development site, but I did not import the images. Instead, I added the images to the development site by copying and moving over the contents of example.com's uploads folder. The posts at example.mysite.com are showing the images, but they are pulling them from the original location. I tried adding the following code to wp-config.php under the (misunderstood?) impression that the image URLs would use the development site's domain: 1 define('WP_HOME', 'http://example.mysite.com');
Intermediate & Advanced SEO | | kimmiedawn
2 define('WP_SITEURL', 'http://example.mysite.com'); I am not seeing any change and the images are still pulling from the original site. How can I test the images on the current site without actually changing the URLs in the database. (If I understand correctly, I could search and replace, but that is not what I am trying to achieve.) The original domain is not changing with the redesign, so there is no need to actually change the URLs. I just need to test the images, as I will be removing those that are not being used as well as optimizing the remaining images before moving the redesigned site over to the original domain.0 -
Site-wide Image Backlinks - Are they bad?
Hey guys, A little help required. We are potentially taking on a new client who has over 5,000 image backlinks (4,000 of those from one site) from around 7,000 total backlinks. Would this be a problem? It's been noticeable recently that both footer and blogroll links seem to be getting targeted by Google. Would this be the case for images links too? Especially considering the top-heavy nature of the link profile? Thoughts welcome. Cheers.
Intermediate & Advanced SEO | | Webrevolve0