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
-
Text over image
Hello, I am creating an overlay on a image. Is it ok to write on this overlay in html or it is better to have the text not on a image for google and other search engines ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Google doesn't index image slideshow
Hi, My articles are indexed and images (full size) via a meta in the body also. But, the images in the slideshow are not indexed, have you any idea? A problem with the JS Example : http://www.parismatch.com/People/Television/Sport-a-la-tele-les-femmes-a-l-abordage-962989 Thank you in advance Julien
Intermediate & Advanced SEO | | Julien.Ferras0 -
Dilemma about "images" folder in robots.txt
Hi, Hope you're doing well. I am sure, you guys must be aware that Google has updated their webmaster technical guidelines saying that users should allow access to their css files and java-scripts file if it's possible. Used to be that Google would render the web pages only text based. Now it claims that it can read the css and java-scripts. According to their own terms, not allowing access to the css files can result in sub-optimal rankings. "Disallowing crawling of Javascript or CSS files in your site’s robots.txt directly harms how well our algorithms render and index your content and can result in suboptimal rankings."http://googlewebmastercentral.blogspot.com/2014/10/updating-our-technical-webmaster.htmlWe have allowed access to our CSS files. and Google bot, is seeing our webapges more like a normal user would do. (tested it in GWT)Anyhow, this is my dilemma. I am sure lot of other users might be facing the same situation. Like any other e commerce companies/websites.. we have lot of images. Used to be that our css files were inside our images folder, so I have allowed access to that. Here's the robots.txt --> http://www.modbargains.com/robots.txtRight now we are blocking images folder, as it is very huge, very heavy, and some of the images are very high res. The reason we are blocking that is because we feel that Google bot might spend almost all of its time trying to crawl that "images" folder only, that it might not have enough time to crawl other important pages. Not to mention, a very heavy server load on Google's and ours. we do have good high quality original pictures. We feel that we are losing potential rankings since we are blocking images. I was thinking to allow ONLY google-image bot, access to it. But I still feel that google might spend lot of time doing that. **I was wondering if Google makes a decision saying, hey let me spend 10 minutes for google image bot, and let me spend 20 minutes for google-mobile bot etc.. or something like that.. , or does it have separate "time spending" allocations for all of it's bot types. I want to unblock the images folder, for now only the google image bot, but at the same time, I fear that it might drastically hamper indexing of our important pages, as I mentioned before, because of having tons & tons of images, and Google spending enough time already just to crawl that folder.**Any advice? recommendations? suggestions? technical guidance? Plan of action? Pretty sure I answered my own question, but I need a confirmation from an Expert, if I am right, saying that allow only Google image access to my images folder. Sincerely,Shaleen Shah
Intermediate & Advanced SEO | | Modbargains1 -
What is the point of having images clickable loading to their own page?
Hello, Noticed a lot of sites, usually wordpress (seems to be the default) have the images in their posts clickable that load to their own page, showing just the image, usually a .jpg page. I know these pages seem to be easily indexed into google image search and can drive traffic to those specific pages... My questions are... 1. What is the point of driving traffic to a page that is just the image, there are no links to other pages, no ads, nothing... 2. can you redirect these .jpg pages to the actual post page? I ask because on google image search, there are 3 links to click (website, image link, image page), when you click to view the image, it loads the .jpg page, why not have that .jpg redirect to the real content page that has ads and also has other links. Is this white-hat? 3. Do these pages with just images have any negative effect on optimization since they are just images, no content? 4. Can you monetize these .jpg pages? 5. What is the best practice? I understand there is value in traffic, but what is the point of image traffic if I can't monetize those pages?
Intermediate & Advanced SEO | | WebServiceConsulting.com0 -
Links from music/celebrity based fansites - sitewide images with no alt text
We're currently in the middle of a link audit on our website OneDirection.net and a large part of our incoming links come from fansites such as the following: ladygaganow.net nickjonline.com justinbieberhood.com joejonashq.com harrystylesfan.org brunodaily.org onedirectiondaily.com onedirectionfans.net Now, our previous way of thinking was that these are very relevant websites in the same niche as us, and therefore should be passing some value? However all of the links on these sites come from sitewide images with no alt-text. Some of the sites are passing 1000+ links to us. We've been wary to disavow or request removal of these links as we've usually gone with the thinking that Google applies "common-sense" based logic in its algorithms, and therefore these backlinks should be ok - in our opinion. However we think we are suffering from some kind of algorithmic penalty with our current rankings, and are now thinking these could be the cause. What are people's opinions on these links? Should we stay clear of sitewide links altogether? Should we contact the site owners and try to get them to mix up the alt-text? Or should we get rid of them altogether? Thanks, Chris.
Intermediate & Advanced SEO | | PixelKicks0 -
Domain Name Redirect Question
My agency just built a new website for a client who is a franchisee. It's not launched yet - it's currently under an IP address. I suggested to client that he buy a keyword-rich domain name for it, which he did. Then he found out that the franchisor will not allow it to be his main domain name. They want him to use a domain name with the franchisor name in it. But they WILL allow him to put a 301 redirect on that franchisor-approved domain name, and redirect it to his keyword-rich domain name. He is interested in having my agency perform an SEO Campaign for this new website. But would SEO and link marketing work for a website that has a new non-keyword domain name that 301 redirects to a new keyword-rich domain name?
Intermediate & Advanced SEO | | netsites0 -
What should I block with a robots.txt file?
Hi Mozzers, We're having a hard time getting our site indexed, and I have a feeling my dev team may be blocking too much of our site via our robots.txt file. They say they have disallowed php and smarty files. Is there any harm in allowing these pages? Thanks!
Intermediate & Advanced SEO | | Travis-W1