Mobile app version of vmapp.org
Login or Join
Alves908

: Hashbang, images and SEO I'm implementing a caching plugin to my app, and it adds an hashbang string to the names of the static files. I would like to know your opinion regarding it. Adding

@Alves908

Posted in: #Cache #GoogleImageSearch #Images #Seo

I'm implementing a caching plugin to my app, and it adds an hashbang string to the names of the static files.

I would like to know your opinion regarding it. Adding an hash to static files like JS or CSS doesn't hurt the SEO, but regarding images I'm in doubt. My worry is if hash hurts SEO ranking of the images.

An example for the code:

<img src="aWhiteCat.e25500fd.jpg" alt="" />


After all I would love to get encountered by Google Images.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

Thanks for clarifying your set-up. That is in fact not a "hashbang" - hashbang is the name given to URLs that use #! followed by some variables or state. Google actually had algorithms to process those URLs (see the Google Blog) however, that is now deprecated.

For your set-up, I'd call it a "hash key", as usually the e25500fd is based on the contents of the file (aka a "file hash").

On its own, having the "random letters" in the URL isn't a big problem as long as you have the descriptive part (aWhiteCat). However, most likely the URLs will change every time the image changes, which means you will end up with several duplicate URLs that resolve to the same image - aWhiteCat.e25500fd.jpg, aWhiteCat.b5a9df8.jpg etc.

That means it will be harder for images to rank in Google Image Search. One image will be seen and ranked in image search, but when the image changes all references to that image will disappear from your site and the new one will appear, meaning Google has to start all over again.

If the images will not change often (or at all) then it shouldn't be an issue.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme