Mobile app version of vmapp.org
Login or Join
Tiffany637

: Are images with non-standard extensions (such as ".ashx", instead of ".png" or ".jpg") bad for SEO? Certain CMS' running on IIS like Sitecore do not give image files appropriate file formats

@Tiffany637

Posted in: #Cms #GoogleSearch #Images #Seo #Url

Certain CMS' running on IIS like Sitecore do not give image files appropriate file formats like .png or .jpg by default, but instead link to images as:

<img src="/media/Some Folder/EX-IMG.ashx" alt="Example" />


Ignoring the spaces, non-descriptive filename, and capitals (likely to break and/or cause duplicate content issues), does that URI with .ashx pose a problem?

Is using the correct image file format a ranking factor in organic search for the page that the image appears on, or is having a decent alt attribute enough?



(Note, it is not necessary to have this image rank in Google Images, but inform spiders that it is relevant and contextual media related to the text content on the page.)

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Tiffany637

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

To answer your question: no, it should not pose a problem for SEO.

Why not - given that ashx has nothing to do with images, you ask? Because of the MIME type being sent with the file header.

The .png file ending is actually not what determine what the browser has to interpret, but rather the file headers of the HTTP request. The file headers sent when the browser is requesting an image file of type .png from the CMS, contain the MIME type media/png and the .ashx extension is thus, irrelevant. Same goes for HTML files - they can be called .baumr, as long as the MIME type is text/html. This can easily be set up in both Apache and IIS.

The URL example you have used, is not too common. As you mentioned, in a good setup it should be descriptive, solely for SEO/Image search purposes: /images.ashx?id=picture-of-an-elf

10% popularity Vote Up Vote Down


 

@Ogunnowo487

Regardless of the "type of" file requested from the server (as would seem to be suggested by the file ".ashx" extension) , the image file format (and corresponding mime-type) received to the client must still be one of png, jpg, gif etc. as otherwise the browser / user-agent will not render/understand it.

So, I don't see how this would affect Google Search.

However, it could affect Image Search for the reasons you mention... none descriptive filename etc. But if the indexing of images is not a concern (and these are perhaps blocked from Googlebot-Image anyway) then I can't see that it is a problem.


...but inform spiders that it is relevant and contextual media related to the text content on the page.


Does Google look at the type/context of the images themselves when determining rank in Google Search?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme