Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

URL structure of image files?

         

NickMNS

8:14 pm on Jan 26, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I am revamping my static sites, making it dynamic. In the current version I have embedded svg charts for each page. But in the version I am going to use external svg image files, at least that is how it will appear based on the URL structure.

The URL will be structured as follows:
The page will be at /type/entity-name/index.html
additional pages (ajax content added and pushStated) will be at: /type/entity-name/entity-name-[more].html --where [more] is a term relevant to the type of content shown.

For the svg images specifically, what is better from an image SEO perspective:
 /type/entity-name/chart-type.svg

or
 /type/entity-name/entity-name-chart-type.svg


Is repeating the entity name in the file and folder redundant or required?

lucy24

9:53 pm on Jan 26, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This sounds like a case of “All things being equal--except that all things never are equal”.

Which naming format is better for developers and maintainers in the long term? Will you make a decision, and then look back a year from now and kick yourself for not having made the opposite decision?

What function do your searchable images serve? Are they an end or a means (intended to funnel people into pages)?

How much competition is there for similar images in searches? Is it so fierce that the filename alone could tip the scales?

Does one of the naming options translate to “leave things as they are”, or will there definitely have to be a change of some sort?

NickMNS

10:30 pm on Jan 26, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This sounds like a case of “All things being equal--except that all things never are equal”.

Exactly.

Does one of the naming options translate to “leave things as they are”

No, currently the images are not images but SVG objects so they are not indexed by Googlebot.

How much competition is there for similar images in searches? Is it so fierce that the filename alone could tip the scales?

Given that they haven't been in search yet, I have no way to really evaluate this. But I'm certain that I can drive some new traffic, since this an untapped media for me.

rainborick

6:25 am on Jan 27, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Umm... Google does index .svg files. See Google Filetypes [support.google.com].

keyplyr

6:38 am on Jan 27, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've found the context the file is a part of to be a much more significant indexing factor than the file path names, and even the file name in many cases.