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
-
How many images should I use in structured data for a product?
We have a basic printing website that offers business cards. Each type of business card has a few product images. Should we use structured data for all the images, or just the main image? What is your opinion about this? Thanks in advance.
Intermediate & Advanced SEO | | Choice0 -
Any tips on how tp get reddit or pinterest posts rank high on google images?
Hello I have noticed that for a keyword that has high competition it has on top image searches not that popular pinterest post & a reddit post, explorergram , youtube etc., the keywork is "24k gold iphone" and I am wondering if I could create somehow myself a pinterest or reddit post or something similar that would have images with my product rank high on that keyword, since my website does not rank well in mage search for some reason... https://www.google.fi/search?q=24k+gold+iphone+6&source=lnms&tbm=isch&sa=X&ved=0CAcQ_AUoAWoVChMI1f2LkpTxxgIVhI8sCh1SGwjy&biw=978&bih=550#tbm=isch&q=24k+gold+iphone thanks a lot
Intermediate & Advanced SEO | | bidilover0 -
Company name in title tags for lesser known brands - yes or no?
Hi Mozzers I read an interesting post over on Authority Labs this morning about title tag length and how Google changes the way they are displayed. The author Brian advises that, "if you want your title tag to remain unchanged, it's worth making sure that you're staying within the 50-59 character window and that your titles fit with the content of the page". This got me thinking... Given the limited amount of title tag characters that are now shown in the SERPs, I find it difficult to include a primary keyword, secondary keyword and the company name. So, if you're a lesser known brand is it worth sacrificing your company name in the title tags of deeper pages for a secondary keyword to help with rankings, or even a special offer to grab a users eye in the SERPs? What are people's views on this? Thanks Anthony
Intermediate & Advanced SEO | | Tone_Agency0 -
I want to Disavow some more links - but I'm only allowed one .txt file?
Hey guys, Wondering if you good people could help me out on this one? A few months back (June 19) I disavowed some links for a client having uploaded a .txt file with the offending domains attached. However, recently I've noticed some more dodgy-looking domains being indexed to my client's site so went about creating a new "Disavow List". When I went to upload this new list I was informed that I would be replacing the existing file. So, my question is, what do I do here? Make a new list with both old and new domains that I plan on disavowing and replace the existing one? Or; Just replace the existing .txt file with the new file because Google has recognised I've already disavowed those older links?
Intermediate & Advanced SEO | | Webrevolve0 -
Problem with SEO for my Image based website.
My website focuses on movie posters. I'm having a little debate on what is the best way to have images linked to. The current image location is stored like this: /movie-name/poster-1.jpg
Intermediate & Advanced SEO | | thedevilseeker
/movie-name/poster-2.jpg Is it best to leave it like that or change it to : /movie-name/movie-name-poster-1.jpg
/movie-name/movie-name-poster-1.jpg The reason I ask, is that I read today that Google uses the image name to help detect what the image is about. At the same time, if the movie name is the in folder structure, along with the image name... wouldn't it start to look like keyword stuffing?0 -
Multiple 301 Redirects on the same domain name
Hi, I'd appreciate some advice ont he below. I have a website, say www.site.co.uk that has just been redesigned using a new CMS. Previously it had URLs in the format /article.php?id=123, the new site has more friendly urls in the format /articles/article-slug. I have been able to import the old articles into my CMS using the same article IDs and I have created a unique slug for each post. So now in my database, I have the article id (from the querystring) and a slug. However, I have hundreds of old URLs indexed by Google in the format /article.php?id=123 and need to redirect these. My plan was to do the following. 301 Redirect /article.php?id=123 to an intermediate page, in this case /redirect/123. On this intermediate page I would do a database lookup for the article slug, based on the ID from the querystring, create a new URL and perform a second 301 redirect to my new URL E.g. /articles/article-slug-from-database. Whilst this works and keeps the site usable for visitors the two 301 redirects do worry me, as I don;t want Google indexing lots of /redirect/[article id] urls. The other solution is to generate hundreds of htaccess redirect rules that map old url to the new url. The first solution is much cleaner, but the two 301's worry me. Will Google work this out on it's own, is there a better way? Any advice is much appreciated. Cheers Rob
Intermediate & Advanced SEO | | AmyCrompton1 -
Google Preview not showing images
No matter which our pages i find in the SERP the Google Preview does not show images for www.spies.dk Try searching for "rejser til malaysia" on google.dk. The result www.spies.dk/malaysia is not showing images. Why is that? Using the "google preview tool" under labs in Google Webmaster Tools sys it found 13 errors on that page: | Ressource: | Information: http://images2.spies.dk/images/SiteID11/SiteLayout/logo-spies.png?v=4 | Indekseret http://images1.spies.dk/images/StaticLayout/Spies_hori_sRGB.png?v=1 | Indekseret http://images1.spies.dk/images/SiteID11/Button/search-button-text3.png?v=2 | Indekseret http://images2.spies.dk/images/Country/my1001_10_48.jpg?v=1 | Indekseret http://images2.spies.dk/images/SiteID11/Button/Opdater_bt.png?v=2 | Indekseret http://images1.spies.dk/images/SiteID11/Button/Sog_bt.png?v=3 | Indekseret http://images2.spies.dk/images/Country/my1002_2_22.gif?v=1 | Indekseret http://images2.spies.dk/images/Resort/bkikki1001_4_11.jpg?v=1 | Indekseret http://images2.spies.dk/images/SiteID11/Button/Vaelg_bt.png?v=7 | Indekseret http://images1.spies.dk/images/Resort/bkiskn1001_4_11.jpg?v=1 | Indekseret http://images1.spies.dk/images/Resort/kulkum1001_4_11.jpg?v=1 | Indekseret http://images1.spies.dk/images/Resort/lgklak1001_4_11.jpg?v=1 | Indekseret https://track.adform.net/serving/scripts/trackpoint/async/ | Indekseret |
Intermediate & Advanced SEO | | alsvik0 -
New domain name for existing site
Hi all, Our business has aquired a new domain name because there are several organisations closely related to ours that use similar domain names to target a niche group of users. We would like to use this new domain name to link to an existing website with content targeted at this user group as we feel that they will be more comfortable getting to the content via this new URL. After a useful search in these forums the majority of SEOMOZ gurus suggest that the new URL should be redirected to our current site using a 301 and we are happy to do this. However do we have to link the URL to our homepage or is it acceptable to link to a subfolder within the domain and then targeting content on this page to the user niche? Thanks for any input. Kind regards. Edit 11:38 The old url is oldcommunity.charity.com (we know having a subdomain is bad) this is where we manage all community engagement. The new url is www.newparticularcommunity.com and we would redirect this to oldcommunity.charity.com. The reason we have bought www.oldparticularcommunity.com is because the url is used by other charities for community engagement and is recognised by the community we are targeting. We are redirecting to our old site because we do not want to engage with them on this new url as our old site oldcommunity.charity.com already does this and can cater for the new community and perhaps they haven't realised that we can.
Intermediate & Advanced SEO | | tgraham0